We're about to need this in another place too
Signed-off-by: Chris Forbes <chrisforbes@google.com>
}
}
+
+static uint32_t get_shader_stage_id(VkShaderStageFlagBits stage)
+{
+ uint32_t bit_pos = u_ffs(stage);
+ return bit_pos-1;
+}
+
+
static bool
validate_vi_consistency(layer_data *my_data, VkDevice dev, VkPipelineVertexInputStateCreateInfo const *vi)
{
return (bindingMap.find(slot.second) != bindingMap.end());
}
-static uint32_t get_shader_stage_id(VkShaderStageFlagBits stage)
-{
- uint32_t bit_pos = u_ffs(stage);
- return bit_pos-1;
-}
-
// Block of code at start here for managing/tracking Pipeline state that this layer cares about
static uint64_t g_drawCount[NUM_DRAW_TYPES] = {0, 0, 0, 0};