mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 05:00:32 +01:00
r600: enable OQ on rv740 on drms with working pipe config
This commit is contained in:
parent
424a8385e4
commit
52eb2ef6bf
1 changed files with 6 additions and 3 deletions
|
|
@ -340,9 +340,12 @@ static void r600InitGLExtensions(GLcontext *ctx)
|
|||
_mesa_enable_extension(ctx, "GL_EXT_texture_compression_s3tc");
|
||||
}
|
||||
|
||||
/* XXX: RV740 only seems to report results from half of its DBs */
|
||||
if (r600->radeon.radeonScreen->chip_family == CHIP_FAMILY_RV740)
|
||||
_mesa_disable_extension(ctx, "GL_ARB_occlusion_query");
|
||||
/* RV740 had a broken pipe config prior to drm 1.32 */
|
||||
if (!r600->radeon.radeonScreen->kernel_mm) {
|
||||
if ((r600->radeon.dri.drmMinor < 32) &&
|
||||
(r600->radeon.radeonScreen->chip_family == CHIP_FAMILY_RV740))
|
||||
_mesa_disable_extension(ctx, "GL_ARB_occlusion_query");
|
||||
}
|
||||
}
|
||||
|
||||
/* Create the device specific rendering context.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue