gallium: add depth clamp to the interface
This commit is contained in:
@@ -491,7 +491,8 @@ enum pipe_cap {
|
||||
PIPE_CAP_MAX_VS_ADDRS,
|
||||
PIPE_CAP_MAX_VS_PREDS,
|
||||
|
||||
PIPE_CAP_GEOMETRY_SHADER4
|
||||
PIPE_CAP_GEOMETRY_SHADER4,
|
||||
PIPE_CAP_DEPTH_CLAMP
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -155,6 +155,7 @@ struct pipe_clip_state
|
||||
{
|
||||
float ucp[PIPE_MAX_CLIP_PLANES][4];
|
||||
unsigned nr;
|
||||
unsigned depth_clamp:1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user