summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-05-20 21:05:34 -0700
committerKenneth Graunke <[email protected]>2016-05-23 16:44:11 -0700
commit70048eb1e3bc155b2b6f3554e6a03fb239082f2d (patch)
tree577ef7c86c7a01bfb24bf8179c666cbdb3816b34 /src/mapi
parent015035027beb38fb9a3b06f8cd94aadc96a8f728 (diff)
gallium: Add a pipe cap for whether primitive restart works for patches.
Some hardware supports primitive restart on patch primitives, and other hardware does not. Modern GL and ES include a query for this feature; adding a capability bit will allow us to answer it. As far as I know, AMD hardware does not support this feature, while NVIDIA and Intel hardware does. However, most Gallium drivers do not appear to support tessellation shaders yet. So, I've enabled it for nvc0 and disabled it everywhere else. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions