mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
nir: allow lower_psiz_mov to run in tessellation stages
Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6027>
This commit is contained in:
parent
fced3c43e7
commit
09ecfd95ee
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ void
|
|||
nir_lower_point_size_mov(nir_shader *shader,
|
||||
const gl_state_index16 *pointsize_state_tokens)
|
||||
{
|
||||
assert(shader->info.stage == MESA_SHADER_VERTEX ||
|
||||
shader->info.stage == MESA_SHADER_GEOMETRY);
|
||||
assert(shader->info.stage != MESA_SHADER_FRAGMENT &&
|
||||
shader->info.stage != MESA_SHADER_COMPUTE);
|
||||
|
||||
nir_variable *out = NULL;
|
||||
nir_foreach_variable(var, &shader->outputs) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue