diff options
author | Jason Ekstrand <[email protected]> | 2015-04-02 16:38:30 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-04-03 14:12:49 -0700 |
commit | 52e718097fa7dc808b3e8b43a8fd14a5b2b64797 (patch) | |
tree | 6c78714e75762396a9b1446f24fbb67cb77a7bb7 /src/mesa/state_tracker/st_debug.h | |
parent | bff421332661bfd0f82ab9eee9e4fec9d06ed1a1 (diff) |
nir: Add a cubemap normalizing pass
This commit adds a pass to L1-normalize cube-map coordinates. Some hardware
such as i965 requires that largest cube-map coordinate is +-1. We had a
pass to perform this normalization in GLSL IR but we need it in NIR for
cube maps on ARB programs to work correctly.
Reviewed-by: Jordan Justen <[email protected]>
v2 (Suggested by Eric):
- Do a vector fabs and split into components later
- Move to core NIR
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_debug.h')
0 files changed, 0 insertions, 0 deletions