intel/compiler: tracker number of ray queries in prog_data

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13719>
This commit is contained in:
Lionel Landwerlin
2021-10-26 16:39:08 +03:00
committed by Marge Bot
parent 9b366243ed
commit 57eed6698b
6 changed files with 10 additions and 0 deletions
+1
View File
@@ -1342,6 +1342,7 @@ brw_compile_tes(const struct brw_compiler *compiler,
const unsigned *assembly;
prog_data->base.base.stage = MESA_SHADER_TESS_EVAL;
prog_data->base.base.ray_queries = nir->info.ray_queries;
nir->info.inputs_read = key->inputs_read;
nir->info.patch_inputs_read = key->patch_inputs_read;