nir: Add r600 specific CUBE opcode to evaluate cube texture coords and face

Graphics / Mesa 3D Graphics Library / Mesa - Gert Wollny [collabora.com] - 26 February 2021 08:51 UTC

nir: Add r600 specific CUBE opcode to evaluate cube texture coords and face

The opcode evaluates tha unnormalized coordinates, the length of the major axis, and the cube face.

e5db9c3dd4e nir: Add r600 specific CUBE opcode to evaluate cube texture coords and face
src/compiler/nir/nir_opcodes.py | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

Upstream: cgit.freedesktop.org


  • Share