mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
nir/serialize: fix serialization of system values
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6545>
This commit is contained in:
parent
5c45eaf9b3
commit
b9927c8c8d
1 changed files with 1 additions and 0 deletions
|
|
@ -253,6 +253,7 @@ write_variable(write_ctx *ctx, const nir_variable *var)
|
|||
* which is typically after shaders are linked.
|
||||
*/
|
||||
if (ctx->strip &&
|
||||
data.mode != nir_var_system_value &&
|
||||
data.mode != nir_var_shader_in &&
|
||||
data.mode != nir_var_shader_out)
|
||||
data.location = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue