commit | 4bbf2ac06e71102a65b4d0427a0ba630a3c2477c | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Tue Nov 10 14:13:47 2015 -0800 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Nov 12 22:08:43 2015 -0800 |
tree | 4d3a453117289e247882ec14a0ccf8a3db123541 | |
parent | 79f68306d23bfb48ef645c4bded8ee7b74d2d661 [diff] |
nir/validate: Allow subroutine types for the tails of derefs The shader-subroutine code creates uniforms of type SUBROUTINE for subroutines that are then read as integers in the backends. If we ever want to do any optimizations on these, we'll need to come up with a better plan where they are actual scalars or something, but this works for now. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92859 Reviewed-by: Connor Abbott <cwabbott0@gmail.com>