gallium: add depth clamp to the interface

This commit is contained in:
Marek Olšák
2010-07-21 09:13:53 +02:00
parent 19e3771cff
commit f47c9b0880
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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
};
+1
View File
@@ -155,6 +155,7 @@ struct pipe_clip_state
{
float ucp[PIPE_MAX_CLIP_PLANES][4];
unsigned nr;
unsigned depth_clamp:1;
};