diff options
author | Dave Airlie <[email protected]> | 2012-11-03 20:44:06 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-11-09 10:26:37 +1000 |
commit | c4427ceff7915d348a5df68ed3a81eca7c7320ad (patch) | |
tree | 370d31f5da38141e0791a991a58a89ba4c8c2582 /src/gallium/auxiliary/tgsi/tgsi_strings.c | |
parent | 5b115864d2d6b9a1235dfe510e89ed1a5f6ed3a3 (diff) |
gallium: add defines/shader opcode for texture cube map array
This just adds the texture target and capability along
with 3 new opcodes required to support this extension.
As this extension requires some texture opcodes with samp + 5 args,
we need to use another src register, this is only required
for TEX, TXL and TXB opcodes to implement this spec.
TEX2 is required for shadow cube map arrays
TXL2 is required for cube map array sampler + explicit lod
TXB2 is required for cube map array sampler + lod bias
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_strings.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_strings.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.c b/src/gallium/auxiliary/tgsi/tgsi_strings.c index c15e2a060d6..70f997b3c9e 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_strings.c +++ b/src/gallium/auxiliary/tgsi/tgsi_strings.c @@ -99,7 +99,9 @@ const char *tgsi_texture_names[TGSI_TEXTURE_COUNT] = "SHADOWCUBE", "2D_MSAA", "2D_ARRAY_MSAA", - "UNKNOWN" + "CUBEARRAY", + "SHADOWCUBEARRAY", + "UNKNOWN", }; const char *tgsi_property_names[TGSI_PROPERTY_COUNT] = |