projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bede55
)
r300g/swtcl: don't expose shader subroutine support
author
Marek Olšák
<maraeo@gmail.com>
Tue, 3 Apr 2012 21:00:18 +0000
(23:00 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 4 Apr 2012 02:28:41 +0000
(
04:28
+0200)
RET in the main function doesn't work. This should be fixed in Draw, but meh.
src/gallium/drivers/r300/r300_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_screen.c
b/src/gallium/drivers/r300/r300_screen.c
index 1a8e789fdc3c580e43b6566e0e315b8d6224b7b0..5873d9a787215d21484192759aa6b05f22eebc45 100644
(file)
--- a/
src/gallium/drivers/r300/r300_screen.c
+++ b/
src/gallium/drivers/r300/r300_screen.c
@@
-217,6
+217,7
@@
static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
switch (param)
{
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
+ case PIPE_SHADER_CAP_SUBROUTINES:
return 0;
default:;
}