[Mesa-dev] [PATCH 15/17] i965: Enable OES_texture_cube_map on Gen8+

Ian Romanick idr at freedesktop.org
Thu Aug 25 00:54:37 UTC 2016


On 08/24/2016 03:59 PM, Ilia Mirkin wrote:
> Subject should say OES_texture_cube_map_array

Heh... fixed locally. :)

> On Wed, Aug 24, 2016 at 6:12 PM, Ian Romanick <idr at freedesktop.org> wrote:
>> From: Ian Romanick <ian.d.romanick at intel.com>
>>
>> These are the only platforms that current expose OES_geometry_shader.
>> Once OpenGL ES 3.1 and OES_geometry_shader are enabled on Gen7, this
>> extension can be enabled there as well.
>>
>> Gen6 will never get OpenGL ES 3.1, so it will never get this
>> extension... even though it has the desktop OpenGL extension.  Alas.
>>
>> NOTE: This causes a failure on Gen8+ platforms in
>> ES3-CTS.gtf.GL3Tests.texture_storage.texture_storage_texture_targets.
>> The test only fails because it doesn't know that 0x9009 is a valid
>> value when the extension exists.
>>
>> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
>> ---
>>  docs/features.txt                            | 2 +-
>>  docs/relnotes/12.1.0.html                    | 1 +
>>  src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
>>  3 files changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/docs/features.txt b/docs/features.txt
>> index 824b654..f2d90e1 100644
>> --- a/docs/features.txt
>> +++ b/docs/features.txt
>> @@ -271,7 +271,7 @@ GLES3.2, GLSL ES 3.2:
>>    GL_OES_tessellation_shader                            started (Ken)
>>    GL_OES_texture_border_clamp                           DONE (all drivers)
>>    GL_OES_texture_buffer                                 DONE (i965, nvc0, radeonsi)
>> -  GL_OES_texture_cube_map_array                         not started (based on GL_ARB_texture_cube_map_array, which is done for all drivers)
>> +  GL_OES_texture_cube_map_array                         DONE (i965/gen8+)
>>    GL_OES_texture_stencil8                               DONE (all drivers that support GL_ARB_texture_stencil8)
>>    GL_OES_texture_storage_multisample_2d_array           DONE (all drivers that support GL_ARB_texture_multisample)
>>
>> diff --git a/docs/relnotes/12.1.0.html b/docs/relnotes/12.1.0.html
>> index ee6b171..930184d 100644
>> --- a/docs/relnotes/12.1.0.html
>> +++ b/docs/relnotes/12.1.0.html
>> @@ -54,6 +54,7 @@ Note: some of the new features are only available with certain drivers.
>>  <li>GL_KHR_texture_compression_astc_sliced_3d on i965</li>
>>  <li>GL_OES_copy_image on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe</li>
>>  <li>GL_OES_geometry_shader on i965/gen8+.</li>
>> +<li>GL_OES_texture_cube_map_array on i965/gen8+.</li>
>>  </ul>
>>
>>  <h2>Bug fixes</h2>
>> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
>> index 600e699..41928cb 100644
>> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
>> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
>> @@ -390,6 +390,7 @@ intelInitExtensions(struct gl_context *ctx)
>>        ctx->Extensions.ARB_vertex_attrib_64bit = true;
>>        ctx->Extensions.OES_geometry_shader = true;
>>        ctx->Extensions.OES_shader_io_blocks = true;
>> +      ctx->Extensions.OES_texture_cube_map_array = true;
>>     }
>>
>>     if (brw->gen >= 9) {
>> --
>> 2.5.5
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 



More information about the mesa-dev mailing list