diff options
author | Neil Roberts <[email protected]> | 2018-01-25 19:15:41 +0100 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-04-19 15:57:45 -0700 |
commit | c4f30a9100bfba7800162bdef267743a2419ec19 (patch) | |
tree | 876a7bb8b042cdee72951a051d8589065fa86e81 /src/gallium/drivers/freedreno/a3xx | |
parent | c32e1035cb4f1e0c2c1bd45611e3a35e7caf57b6 (diff) |
spirv: Lower BaseVertex to FIRST_VERTEX instead of BASE_VERTEX
The base vertex in Vulkan is different from GL in that for non-indexed
primitives the value is taken from the firstVertex parameter instead
of being set to zero. This coincides with the new SYSTEM_VALUE_FIRST_VERTEX
instead of BASE_VERTEX.
v2 (idr): Add comment describing why SYSTEM_VALUE_FIRST_VERTEX is used
for SpvBuiltInBaseVertex. Suggested by Jason.
Reviewed-by: Ian Romanick <[email protected]> [v1]
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx')
0 files changed, 0 insertions, 0 deletions