mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 02:30:37 +02:00
nir: Don't lower TCS outputs to temporaries.
We'd like to shadow these when possible, but the current code doesn't work properly for TCS outputs. For now, disable it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
134728fdae
commit
d12bde0944
1 changed files with 3 additions and 0 deletions
|
|
@ -78,6 +78,9 @@ nir_lower_outputs_to_temporaries(nir_shader *shader)
|
|||
{
|
||||
struct lower_outputs_state state;
|
||||
|
||||
if (shader->stage == MESA_SHADER_TESS_CTRL)
|
||||
return;
|
||||
|
||||
state.shader = shader;
|
||||
exec_list_move_nodes_to(&shader->outputs, &state.old_outputs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue