mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 08:10:14 +01:00
radeonsi: enable nir pass for 64 bit operations
Enables optimisations for divide-by-constant which are required in some shaders. e.g. si_create_query_result_cs() Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25972>
This commit is contained in:
parent
b88ac6b381
commit
d5ef8a0ac0
1 changed files with 1 additions and 0 deletions
|
|
@ -283,6 +283,7 @@ static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir)
|
|||
* - ensure constant offsets for texture instructions are folded
|
||||
* and copy-propagated
|
||||
*/
|
||||
NIR_PASS_V(nir, nir_lower_int64);
|
||||
|
||||
const struct nir_lower_tex_options lower_tex_options = {
|
||||
.lower_txp = ~0u,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue