i965: Enable INTEL_performance_query for Gen5+.
Signed-off-by: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
committed by
Ian Romanick
parent
8cf5bdad3c
commit
b4363c8ea4
@@ -310,8 +310,10 @@ intelInitExtensions(struct gl_context *ctx)
|
||||
ctx->Extensions.ARB_stencil_texturing = true;
|
||||
}
|
||||
|
||||
if (brw->gen == 5 || can_write_oacontrol(brw))
|
||||
if (brw->gen == 5 || can_write_oacontrol(brw)) {
|
||||
ctx->Extensions.AMD_performance_monitor = true;
|
||||
ctx->Extensions.INTEL_performance_query = true;
|
||||
}
|
||||
|
||||
if (ctx->API == API_OPENGL_CORE)
|
||||
ctx->Extensions.ARB_base_instance = true;
|
||||
|
||||
Reference in New Issue
Block a user