• Kenneth Graunke's avatar
    i965: Enable ARB_texture_stencil8 and OES_texture_stencil8 on Gen8+. · fd9a7d8f
    Kenneth Graunke authored
    Stencil texturing is required by ES 3.1.  Apparently we never actually
    turned it on.  Do that now.  Also turn on the desktop extension.
    
    Fixes nine dEQP-GLES31.functional tests:
    
    stencil_texturing.format.stencil_index8_2d
    texture.border_clamp.formats.stencil_index8.nearest_size_pot
    texture.border_clamp.formats.stencil_index8.nearest_size_npot
    texture.border_clamp.formats.stencil_index8.gather_size_pot
    texture.border_clamp.formats.stencil_index8.gather_size_npot
    texture.border_clamp.unused_channels.stencil_index8
    state_query.internal_format.renderbuffer.stencil_index8_samples
    state_query.internal_format.texture_2d_multisample.stencil_index8_samples
    state_query.internal_format.texture_2d_multisample_array.stencil_index8_samples
    Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Chris Forbes's avatarChris Forbes <chrisf@ijw.co.nz>
    fd9a7d8f
intel_extensions.c 14.4 KB