panfrost: Don't use VARYING_SLOT_TEX0 internally
This is a legacy varying for desktop GL use. Don't use it in our internal shaders, as it adds pointless complexity. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16310>
This commit is contained in:
parent
b31527952e
commit
27a8e4f9d5
|
@ -465,7 +465,7 @@ pan_blitter_get_blit_shader(struct panfrost_device *dev,
|
|||
nir_variable_create(b.shader, nir_var_shader_in,
|
||||
glsl_vector_type(GLSL_TYPE_FLOAT, coord_comps),
|
||||
"coord");
|
||||
coord_var->data.location = VARYING_SLOT_TEX0;
|
||||
coord_var->data.location = VARYING_SLOT_VAR0;
|
||||
|
||||
nir_ssa_def *coord = nir_load_var(&b, coord_var);
|
||||
|
||||
|
|
Loading…
Reference in New Issue