This function will be used by another primitive emulation and
a more generic name will be needed.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20109>
if (lines_changed || rast_state_changed ||
ctx->gfx_pipeline_state.modules_changed)
- zink_set_line_stipple_keys(ctx);
+ zink_set_primitive_emulation_keys(ctx);
if (index_size) {
const VkIndexType index_type[3] = {
}
void
-zink_set_line_stipple_keys(struct zink_context *ctx)
+zink_set_primitive_emulation_keys(struct zink_context *ctx)
{
struct zink_screen *screen = zink_screen(ctx->base.screen);
bool lower_line_stipple = ctx->gfx_pipeline_state.rast_prim == PIPE_PRIM_LINES &&
}
void
-zink_set_line_stipple_keys(struct zink_context *ctx);
+zink_set_primitive_emulation_keys(struct zink_context *ctx);
static inline const struct zink_shader_key_base *
zink_get_shader_key_base(struct zink_context *ctx, gl_shader_stage pstage)