diff options
author | Francisco Jerez <[email protected]> | 2012-04-30 20:20:29 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2012-05-11 12:39:41 +0200 |
commit | b8e808f1ef9462af8545999df514fddbbff34345 (patch) | |
tree | 6431be43337a12c166fae50e87e6f8b7e14c9d6c /src/gallium/auxiliary/tgsi/tgsi_dump.c | |
parent | 82c90b2da8e236bc134cb2bd0ec4e09551b12164 (diff) |
gallium/tgsi: Add resource write-back support.
Define a new STORE opcode with a role dual to the LOAD opcode, and add
flags to specify that a shader resource is intended for writing.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_dump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c index f48e3907c31..36859466877 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_dump.c +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c @@ -285,6 +285,8 @@ iter_declaration( if (decl->Declaration.File == TGSI_FILE_RESOURCE) { TXT(", "); ENM(decl->Resource.Resource, tgsi_texture_names); + if (decl->Resource.Writable) + TXT(", WR"); if (decl->Resource.Raw) TXT(", RAW"); } |