[Impeller] dont include sampler offset in float offset (#37573)

diff --git a/impeller/entity/contents/runtime_effect_contents.cc b/impeller/entity/contents/runtime_effect_contents.cc
index 6b9adfc..3ca9356 100644
--- a/impeller/entity/contents/runtime_effect_contents.cc
+++ b/impeller/entity/contents/runtime_effect_contents.cc
@@ -188,6 +188,7 @@
         uniform_slot.ext_res_0 = buffer_index;
         cmd.BindResource(ShaderStage::kFragment, uniform_slot, metadata,
                          buffer_view);
+        buffer_index++;
         break;
       }
       case kBoolean:
@@ -205,8 +206,6 @@
                        << ".";
         return true;
     }
-
-    buffer_index++;
   }
 
   pass.AddCommand(std::move(cmd));