diff options
author | Chris Forbes <[email protected]> | 2013-11-06 20:03:21 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-11-25 22:01:35 +1300 |
commit | 36046ae2789f74c04e6b62fa5250d81e8d1160eb (patch) | |
tree | c71e4f473e6e9b2b71b2144caedc861b3692db29 /src/mesa/main/state.c | |
parent | a95236cfc1d55750840a6ac7a5747da3ecd200d2 (diff) |
mesa: Add validation helpers for new indirect draws
Based on part of Patch 2 of Christoph Bumiller's ARB_draw_indirect series.
V3: - Disallow primcount==0 for DrawMulti*Indirect. The spec is unclear
on this, but it's silly. We might go back on this later if it
turns out to be a problem.
- Make it clear that the caller has dealt with stride==0
V4: - Allow primcount==0 again.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
0 files changed, 0 insertions, 0 deletions