summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_emit.c
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-11-18 10:44:27 +0100
committerChristian Gmeiner <[email protected]>2017-11-30 07:26:55 +0100
commit150d8766eae9870bc7fc59bad0f8be8dcf6a24cd (patch)
treea56c5b08d18095ec16053dc6f415238865702914 /src/gallium/drivers/etnaviv/etnaviv_emit.c
parent23630ab1b66af437267cdbc19d3f70a3922dfc59 (diff)
etnaviv: Use only DRAW_INSTANCED on GC3000+
The blob does this, as DRAW_INSTANCED can replace fully all the other draw commands. It is also required to handle integer vertex formats. The other path is only there for compatibility and might go away (or at least rot to become buggy due to dis-use) in newer hardware. As a by-effect this changes the behavior for GC3000-, by no longer using the index offset for DRAW_INDEXED but instead adding it to INDEX_ADDR. This should make no difference. Preparation for GC7000 support. Signed-off-by: Wladimir J. van der Laan <[email protected]> Reviewed-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_emit.c')
0 files changed, 0 insertions, 0 deletions