summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-12-17 12:34:27 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:20:22 -0800
commitcb53aacaa1555b98fa77146492e96a7e3d7631ba (patch)
tree03e2c1f3f8acc2f89b9cd5e927fe736fc2eea97d /common.py
parent813316d1501e08da56a1021a7378d6b5e6371922 (diff)
i965/fs_nir: Handle sample ID, position, and mask better
Before, we were emitting the full pile of setup instructions for sample_id and sample_pos every time they were used. With this commit, we emit them in their own pass once at the beginning of the shader and simply emit uses later on. When it comes time for setting up VS, we can put setup for its special values in the same pass. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions