diff options
author | George Kyriazis <[email protected]> | 2017-02-02 21:16:47 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-02-23 16:36:18 -0600 |
commit | dcac48bfee545660dffbf23bd92a0939b19ffd18 (patch) | |
tree | ed9da084c5b41ca162190a3bf511e7c294f8397f /src/gallium/drivers/vc4/vc4_cl.h | |
parent | 669d8f626f64cee1bc74ef7869aac8585b6dcfe6 (diff) |
swr: fix index buffers with non-zero indices
Fix issue with index buffers that do not contain a 0 index. 0 index
can be a non-valid index if the (copied) vertex buffers are a subset of the
user's (which happens because we only copy the range between min & max).
Core will use an index passed in from the driver to replace invalid indices.
Only do this for calls that contain non-zero indices, to minimize performance
Reviewed-by: Bruce Cherniak <[email protected]>
cost.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_cl.h')
0 files changed, 0 insertions, 0 deletions