summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/disassemble.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-11-07 22:05:21 -0600
committerJason Ekstrand <[email protected]>2019-11-18 18:35:14 +0000
commitfdaf8144a8bf65afa7dc66b8d827da38e27a850a (patch)
tree9206dd29f744cca36458fb885aca7171f3ea0402 /src/panfrost/midgard/disassemble.h
parentbc9d7836bc6a448d0328f090b8d538411f8aa1a0 (diff)
anv: Emit a NULL vertex for zero base_vertex/instance
If both are zero (the common case), we can emit a null vertex buffer rather than emitting a vertex buffer with zeros in it. The packing of the VERTEX_BUFFER_STATE is faster because no relocation is emitted and we can avoid creating the vertex buffer which means one less anv_state_stream_alloc. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/disassemble.h')
0 files changed, 0 insertions, 0 deletions