nv50,nvc0: add support for cull distances
Cull distances are just a special case of clip distances as far as the hardware is concerned. Make sure that the relevant "planes" are enabled, and flip the clip mode to cull for those. Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> [imirkin: add enables on nvc0, add nv50 support] Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
This commit is contained in:

committed by
Ilia Mirkin

parent
2ad970ecf4
commit
8c02939794
@@ -46,7 +46,7 @@ Note: some of the new features are only available with certain drivers.
|
||||
<ul>
|
||||
<li>OpenGL 4.2 on radeonsi</li>
|
||||
<li>GL_ARB_compute_shader on radeonsi, softpipe</li>
|
||||
<li>GL_ARB_cull_distance on i965/gen6+</li>
|
||||
<li>GL_ARB_cull_distance on i965/gen6+, nv50, nvc0</li>
|
||||
<li>GL_ARB_framebuffer_no_attachments on nvc0, r600, radeonsi, softpipe</li>
|
||||
<li>GL_ARB_internalformat_query2 on all drivers</li>
|
||||
<li>GL_ARB_query_buffer_object on i965/hsw+</li>
|
||||
|
Reference in New Issue
Block a user