zink: rename zink_set_line_stipple_keys
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>
This commit is contained in:
@@ -550,7 +550,7 @@ zink_draw(struct pipe_context *pctx,
|
||||
|
||||
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] = {
|
||||
|
||||
@@ -1836,7 +1836,7 @@ zink_driver_thread_add_job(struct pipe_screen *pscreen, void *data,
|
||||
}
|
||||
|
||||
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 &&
|
||||
|
||||
@@ -341,7 +341,7 @@ zink_set_fs_point_coord_key(struct zink_context *ctx)
|
||||
}
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user