diff options
author | Ilia Mirkin <[email protected]> | 2016-08-28 16:03:21 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-08-30 21:31:30 -0400 |
commit | a0b1260fe0577e504c8ef31c07e13025324af8f8 (patch) | |
tree | 8abbaa56a280601519b25f6dfafbc3678922c7ff /src | |
parent | bf47b2bf887ba15d318b6489c4e5116df771028c (diff) |
i965: enable OES_primitive_bounding_box with the no-op implementation
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 41c972c568a..fec6df8ae46 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -772,6 +772,9 @@ brw_initialize_context_constants(struct brw_context *brw) ctx->Const.MaxFramebufferHeight = 16384; ctx->Const.MaxFramebufferLayers = ctx->Const.MaxArrayTextureLayers; ctx->Const.MaxFramebufferSamples = max_samples; + + /* OES_primitive_bounding_box */ + ctx->Const.NoPrimitiveBoundingBoxOutput = true; } static void diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 76b585d8a25..0f28546cfff 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -354,6 +354,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_texture_view = true; ctx->Extensions.ARB_shader_storage_buffer_object = true; ctx->Extensions.EXT_shader_samples_identical = true; + ctx->Extensions.OES_primitive_bounding_box = true; ctx->Extensions.OES_texture_buffer = true; if (brw->can_do_pipelined_register_writes) { |