Skip to content
Snippets Groups Projects
Commit d1ac2ffe authored by Faith Ekstrand's avatar Faith Ekstrand :speech_balloon: Committed by Eric Engestrom
Browse files

nir/deref: Don't try to compare derefs containing casts


One day, we may want copy_prop_vars or other passes to be able to see
through certain types of casts such as when someone casts a uint64_t to
a uvec2.  However, for now we should just avoid casts all together.

Fixes: d8e3edb7 "nir/deref: Support casts and ptr_as_array in..."
Tested-by: Jesse Natalie's avatarJesse Natalie <jenatali@microsoft.com>
Reviewed-by: default avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <mesa/mesa!6072>
(cherry picked from commit 611f654f)
parent d23bbc8c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment