diff options
author | Marek Olšák <[email protected]> | 2012-07-28 13:29:02 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-08-15 19:20:57 +0200 |
commit | dacf5dc9ac1a700b86e0dc385513afaff41e7aea (patch) | |
tree | 899ee1231fe0ef856339825c0eb74291e646c4d3 /src/gallium/auxiliary/tgsi/tgsi_strings.c | |
parent | ba53573a8b14a7ab41307a38710610611dfa1cc5 (diff) |
gallium: add TGSI support for multisample textures
The only allowed instructions are TXQ_LZ and TXF.
TXQ_LZ is like TXQ, but without the LOD parameter (which is always zero
with MSAA textures)
The 3rd or the 4th texcoord component in TXF should contain the sample index
for a 2D_MSAA or 2D_ARRAY_MSAA texture, respectively.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_strings.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_strings.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.c b/src/gallium/auxiliary/tgsi/tgsi_strings.c index 5f8f4be45b2..c15e2a060d6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_strings.c +++ b/src/gallium/auxiliary/tgsi/tgsi_strings.c @@ -97,6 +97,8 @@ const char *tgsi_texture_names[TGSI_TEXTURE_COUNT] = "SHADOW1D_ARRAY", "SHADOW2D_ARRAY", "SHADOWCUBE", + "2D_MSAA", + "2D_ARRAY_MSAA", "UNKNOWN" }; |