summaryrefslogtreecommitdiff
path: root/lib/mesa/src/intel/compiler/brw_vec4.cpp
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-04-21 04:37:21 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-04-21 04:37:21 +0000
commit09a91eb2d5bd3dcae073e25b08def9bce6cb32b1 (patch)
tree3719f9a7d09ae49da28e356df309cfac1d2580c8 /lib/mesa/src/intel/compiler/brw_vec4.cpp
parenta09152815d99b8a68f7f5ed0e44bab39dd14a1e5 (diff)
Merge Mesa 21.3.8
Diffstat (limited to 'lib/mesa/src/intel/compiler/brw_vec4.cpp')
-rw-r--r--lib/mesa/src/intel/compiler/brw_vec4.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mesa/src/intel/compiler/brw_vec4.cpp b/lib/mesa/src/intel/compiler/brw_vec4.cpp
index 72165932c..52fdc67c8 100644
--- a/lib/mesa/src/intel/compiler/brw_vec4.cpp
+++ b/lib/mesa/src/intel/compiler/brw_vec4.cpp
@@ -2896,6 +2896,7 @@ brw_compile_vs(const struct brw_compiler *compiler,
INTEL_DEBUG(params->debug_flag ? params->debug_flag : DEBUG_VS);
prog_data->base.base.stage = MESA_SHADER_VERTEX;
+ prog_data->base.base.total_scratch = 0;
const bool is_scalar = compiler->scalar_stage[MESA_SHADER_VERTEX];
brw_nir_apply_key(nir, compiler, &key->base, 8, is_scalar);