commit | b9927c8c8d0c105699306a68773c015930ff9509 | [log] [tgz] |
---|---|---|
author | Karol Herbst <kherbst@redhat.com> | Sat Aug 29 21:58:37 2020 +0200 |
committer | Jason Ekstrand <jason@jlekstrand.net> | Tue Sep 01 14:55:05 2020 -0500 |
tree | 45484eaf2cd2f901700b8a2cc334c6b72b55369a | |
parent | 5c45eaf9b3578094c36911cbbd085097642d3b13 [diff] |
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>
diff --git a/src/compiler/nir/nir_serialize.c b/src/compiler/nir/nir_serialize.c index 33c740c..1d0b696 100644 --- a/src/compiler/nir/nir_serialize.c +++ b/src/compiler/nir/nir_serialize.c
@@ -253,6 +253,7 @@ * 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;