diff options
author | Axel Davy <[email protected]> | 2014-11-26 20:52:53 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-12-03 23:20:01 +0000 |
commit | 6fcbf9aee3332243642008035e08b8f1f499ae3f (patch) | |
tree | 5c1212566b0b58fb9050d1633f94f60fa94f274b /CleanSpec.mk | |
parent | fd2852fe5b504c91ff0d42fef1dc90715e798114 (diff) |
st/nine: sm1_declusage_to_tgsi, do not restrict indices with TGSI_SEMANTIC_GENERIC
With sm3, you can declare an input/output with an usage and an usage index.
Nine code hardcodes the translation usage/index to a corresponding TGSI code.
The translation was limited to a few usage/index combinations that were corresponding
to most of the needs of games, but some games did not work.
This patch rewrites that Nine code to map all possible usage/index combination
to TGSI code. The index associated to TGSI_SEMANTIC_GENERIC doesn't need to be low
for good performance, as the old code was supposing, and is not particularly bounded
(it's UINT16). Given the index is BYTE, we can map all combinations.
Cc: "10.4" <[email protected]>
Tested-by: Yaroslav Andrusyak <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
(cherry picked from commit 5d6d260833e374404f80d1c36bc0e1854369a069)
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions