projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f18a086
)
r300g: fix exposing caps on r300-r400
author
Marek Olšák
<maraeo@gmail.com>
Sun, 24 Apr 2011 09:48:46 +0000
(11:48 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 24 Apr 2011 10:00:00 +0000
(12:00 +0200)
Broken with
72239d16cd08113e994ea3508f91193c682b0930
.
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 9ec16c6562feebed9894b74ae2ba3f1ea4099d1d..92e59293fe4c2c329c17ede15eb2e79a381ccacb 100644
(file)
--- a/
src/gallium/drivers/r300/r300_screen.c
+++ b/
src/gallium/drivers/r300/r300_screen.c
@@
-113,10
+113,10
@@
static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
- case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL:
- return is_r500 ? 1 : 0;
+ return 1;
case PIPE_CAP_TEXTURE_SWIZZLE:
return util_format_s3tc_enabled ? r300screen->caps.dxtc_swizzle : 1;
+ case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL:
case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
return is_r500 ? 1 : 0;