key->is_points = (topology == MESA_PRIM_POINTS);
key->is_lines = (topology >= MESA_PRIM_LINES &&
topology <= MESA_PRIM_LINE_STRIP);
+
+ if (key->is_points) {
+ /* This mask represents state for GL_ARB_point_sprite which is not
+ * relevant to Vulkan.
+ */
+ key->point_sprite_mask = 0;
+
+ /* Vulkan mandates upper left. */
+ key->point_coord_upper_left = true;
+ }
+
key->has_gs = has_geometry_shader;
const VkPipelineColorBlendStateCreateInfo *cb_info =
else if (util_format_is_pure_sint(fb_pipe_format))
key->int_color_rb |= 1 << i;
}
-
- if (key->is_points) {
- /* This mask represents state for GL_ARB_point_sprite which is not
- * relevant to Vulkan.
- */
- key->point_sprite_mask = 0;
-
- /* Vulkan mandates upper left. */
- key->point_coord_upper_left = true;
- }
}
}