iris: add support for gl_ClipVertex in geometry shaders
This will enable us to support the OpenGL compat profile. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:

committed by
Kenneth Graunke

parent
70dc017aec
commit
00b5bf2d72
@@ -323,6 +323,15 @@ struct brw_tes_prog_key
|
||||
struct brw_gs_prog_key
|
||||
{
|
||||
struct brw_base_prog_key base;
|
||||
|
||||
/**
|
||||
* How many user clipping planes are being uploaded to the geometry shader
|
||||
* as push constants.
|
||||
*
|
||||
* These are used for lowering legacy gl_ClipVertex/gl_Position clipping to
|
||||
* clip distances.
|
||||
*/
|
||||
unsigned nr_userclip_plane_consts:4;
|
||||
};
|
||||
|
||||
enum brw_sf_primitive {
|
||||
|
Reference in New Issue
Block a user