mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
st/mesa: propagate gl_PatchVerticesIn from TCS to TES before linking for NIR
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
e8f0a39d45
commit
8567e06046
1 changed files with 2 additions and 2 deletions
|
|
@ -690,6 +690,8 @@ st_link_nir(struct gl_context *ctx,
|
|||
}
|
||||
}
|
||||
|
||||
st_lower_patch_vertices_in(shader_program);
|
||||
|
||||
/* For SPIR-V, we have to perform the NIR linking before applying
|
||||
* st_nir_preprocess.
|
||||
*/
|
||||
|
|
@ -782,8 +784,6 @@ st_link_nir(struct gl_context *ctx,
|
|||
prev = i;
|
||||
}
|
||||
|
||||
st_lower_patch_vertices_in(shader_program);
|
||||
|
||||
for (unsigned i = 0; i < MESA_SHADER_STAGES; i++) {
|
||||
struct gl_linked_shader *shader = shader_program->_LinkedShaders[i];
|
||||
if (shader == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue