diff options
author | Dave Airlie <[email protected]> | 2009-09-26 18:25:00 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-09-26 18:25:00 +1000 |
commit | 28f531e3fe95c9fad2bf2f09aef0343ab079bff2 (patch) | |
tree | 13878b3e32886f9079ffe5faa3be8ab2b43286f3 /src/gallium/drivers/r300 | |
parent | 20d3c85128192b2d3f75b68f47ab9aadc2719c5a (diff) |
r300g: report GL1.5, enable cap bits for OQ and shadow.
Its not like it works well on 1.3 so may as well reach for greater
heights.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 3b5b1bbd37f..8296d56840f 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -101,11 +101,9 @@ static int r300_get_param(struct pipe_screen* pscreen, int param) case PIPE_CAP_MAX_RENDER_TARGETS: return 4; case PIPE_CAP_OCCLUSION_QUERY: - /* IN THEORY */ - return 0; + return 1; case PIPE_CAP_TEXTURE_SHADOW_MAP: - /* IN THEORY */ - return 0; + return 1; case PIPE_CAP_MAX_TEXTURE_2D_LEVELS: if (r300screen->caps->is_r500) { /* 13 == 4096x4096 */ |