summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2014-05-17 01:20:19 +0200
committerMarek Olšák <[email protected]>2014-06-02 12:49:03 +0200
commit4b586a26c8ab8804dacbf400f5fd53b5a1f70dac (patch)
tree0f0560183823fb697a8584db7fa4c1b767a68514 /src/gallium/drivers/svga
parent304f64bb501f2b6f5760e77859557192c0bf5774 (diff)
gallium: create TGSI_PROPERTY to disable viewport and clipping
Marek v2: add a cap Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index 458fbd04ce4..4e1e3316bca 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -275,6 +275,7 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_TEXTURE_QUERY_LOD:
case PIPE_CAP_SAMPLE_SHADING:
case PIPE_CAP_TEXTURE_GATHER_OFFSETS:
+ case PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION:
return 0;
case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
return 64;