mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-13 13:10:34 +01:00
intel/nir: fixup preserved metadata in rayquery lowering
Another case of not clearing the metadata correctly. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:c78be5da30("intel/fs: lower ray query intrinsics") Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16970> (cherry picked from commit1ffd28149f)
This commit is contained in:
parent
1ab6d664c3
commit
ce21dde04d
2 changed files with 3 additions and 1 deletions
|
|
@ -490,7 +490,7 @@
|
|||
"description": "intel/nir: fixup preserved metadata in rayquery lowering",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c78be5da300ae386a12b91a22efb064335e2043a"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -550,6 +550,8 @@ brw_nir_lower_ray_queries(nir_shader *shader,
|
|||
nir_remove_dead_variables(shader,
|
||||
nir_var_shader_temp | nir_var_function_temp,
|
||||
NULL);
|
||||
|
||||
nir_metadata_preserve(impl, nir_metadata_none);
|
||||
}
|
||||
|
||||
ralloc_free(state.queries);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue