summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_bitmap.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-07-12 02:16:30 -0700
committerKenneth Graunke <[email protected]>2016-07-15 17:17:09 -0700
commit349fe79c9bc9bd20b877f0425763509208179b47 (patch)
treef3fedcc7564af5da9891f6ec7e0b59fef3012696 /src/compiler/nir/nir_lower_bitmap.c
parent7171a9a87d001d4958a8fb14a78c8235ba4e7e26 (diff)
nir: Share get_io_offset handling in nir_lower_io.
The load/store/atomic cases all duplicated the get_io_offset code, with a few tiny differences: stores didn't bother checking for per-vertex inputs, because they can't be stored to, and atomics didn't check at all, since shared variables aren't per-vertex. However, it's harmless to check, and allows us to share more code. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_bitmap.c')
0 files changed, 0 insertions, 0 deletions