shader: request EXT_texture_buffer for gles 3.1 texture buffer.

This should fix some more crashes seens with llvmpipe ARB_gpu_shader5 support

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Dave Airlie 5 years ago
parent d43e9a27e3
commit 145556c1d2
  1. 2
      src/vrend_shader.c

@ -5315,6 +5315,8 @@ static void emit_header(struct dump_ctx *ctx)
}
if (ctx->cfg->glsl_version < 320) {
if (ctx->shader_req_bits & SHADER_REQ_SAMPLER_BUF)
emit_ext(ctx, "EXT_texture_buffer", "require");
if (prefer_generic_io_block(ctx, io_in) || prefer_generic_io_block(ctx, io_out)) {
emit_ext(ctx, "OES_shader_io_blocks", "require");
}

Loading…
Cancel
Save