gallium: clarify SVIEWINFO opcode
authorRoland Scheidegger <sroland@vmware.com>
Wed, 7 Aug 2013 15:03:45 +0000 (17:03 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 8 Aug 2013 16:55:57 +0000 (18:55 +0200)
commitc8572a9457f8fd32e64fcf4f55c080dff6bd77be
tree9009cff32a5db5b9077f3d4475ac2f5cb2ce2e3b
parentce0e66af0ad69607aedd6456081d369cc1bba33e
gallium: clarify SVIEWINFO opcode

This opcode is quite problematic in tgsi, while it tries to mirror
d3d10 resinfo it can't really do what's stated there due to missing
the crazy return type modifiers. Hence specify this is ignored along
with the swizzle.
(Other options would be to have multiple opcodes or specify the ret
type modifier maybe in dst_reg as there's padding bits left there but
it is the only instruction allowing this.)

Reviewed-by: Zack Rusin <zackr@vmware.com>
src/gallium/docs/source/tgsi.rst