projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25123e0
)
softpipe: Report some sane values for constant buffer CAP queries.
author
Michal Krol
<michal@vmware.com>
Mon, 25 Jan 2010 13:31:32 +0000
(14:31 +0100)
committer
Michal Krol
<michal@vmware.com>
Thu, 28 Jan 2010 13:08:12 +0000
(14:08 +0100)
src/gallium/drivers/softpipe/sp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
index bd3532de4f445f1b90ad4581c5a3c11619e5714a..69f40dc7b64cdf8b50808a01d80cbb20786522db 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_screen.c
+++ b/
src/gallium/drivers/softpipe/sp_screen.c
@@
-91,6
+91,10
@@
softpipe_get_param(struct pipe_screen *screen, int param)
return 1;
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
return 1;
+ case PIPE_CAP_MAX_CONST_BUFFERS:
+ return PIPE_MAX_CONSTANT_BUFFERS;
+ case PIPE_CAP_MAX_CONST_BUFFER_SIZE:
+ return 4096 * 4 * sizeof(float);
default:
return 0;
}