projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89a578
)
iris: improve PIPE_CAP_VIDEO_MEMORY bogus value
author
Andre Heider
<a.heider@gmail.com>
Wed, 6 Feb 2019 09:53:18 +0000
(10:53 +0100)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:12 +0000
(10:26 -0800)
-1 is a little too bogus for most games ;)
Signed-off-by: Andre Heider <a.heider@gmail.com>
src/gallium/drivers/iris/iris_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_screen.c
b/src/gallium/drivers/iris/iris_screen.c
index 0ee07a7e4f65224934eaabbf3af5bb9743fea67e..728c2c23506b7aa3accf167c33d8ea2c122f3509 100644
(file)
--- 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;