summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_screen.c
diff options
context:
space:
mode:
authorAndre Heider <[email protected]>2019-02-06 10:53:18 +0100
committerKenneth Graunke <[email protected]>2019-02-21 10:26:12 -0800
commitbffb65d28e1f8cc5cfcfff0176a4ed3d710236d2 (patch)
treec6ce35a0a3981932ea223c736554f6d87b2937f8 /src/gallium/drivers/iris/iris_screen.c
parentf89a57881826b743a2f8b04f3143c6a4299e7a9b (diff)
iris: improve PIPE_CAP_VIDEO_MEMORY bogus value
-1 is a little too bogus for most games ;) Signed-off-by: Andre Heider <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.c')
-rw-r--r--src/gallium/drivers/iris/iris_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c
index 0ee07a7e4f6..728c2c23506 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -239,7 +239,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_DEVICE_ID:
return screen->pci_id;
case PIPE_CAP_VIDEO_MEMORY:
- return 0xffffffff; // XXX: bogus
+ return INT_MAX; // XXX: bogus
case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS:
case PIPE_CAP_MAX_VARYINGS:
return 32;