Skip to content
Commit bc67499b authored by Faith Ekstrand's avatar Faith Ekstrand Committed by Dylan Baker
Browse files

nir/validate: Use the type from the tail of call parameter derefs

Otherwise, if what gets passed into the function call is a deref chain
longer than just a variable deref, we would use the type of the entire
variable rather than the type of the thing being dereferenced.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106980


Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
(Unique to 18.1)
parent d96eecbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment