diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-04-08 03:11:22 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-04-08 04:38:36 +0200 |
commit | 10ea8567f49f4daaa654b6e4c365a816f855073b (patch) | |
tree | e6ac3732ad74783a716bde291211bb79e6b4bedd /src/gallium/drivers/r300/r300_screen.c | |
parent | 9d5de0fcb6ced7a4da85a09ad25dcbc2b21bfdf9 (diff) | |
download | external_mesa3d-10ea8567f49f4daaa654b6e4c365a816f855073b.zip external_mesa3d-10ea8567f49f4daaa654b6e4c365a816f855073b.tar.gz external_mesa3d-10ea8567f49f4daaa654b6e4c365a816f855073b.tar.bz2 |
r300g: fix texturing with sizes > 2048 on r500
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 07d854d..eb1b452 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -482,6 +482,9 @@ struct pipe_screen* r300_screen_create(struct r300_winsys_screen *rws) if (SCREEN_DBG_ON(r300screen, DBG_NO_HIZ)) r300screen->caps.hiz_ram = 0; + if (!rws->get_value(rws, R300_VID_DRM_2_8_0)) + r300screen->caps.has_us_format = FALSE; + pipe_mutex_init(r300screen->num_contexts_mutex); util_slab_create(&r300screen->pool_buffers, |