mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
i965: Remove GL_ARB_color_buffer_float from GL core contexts.
Of the 3 controls in the extension, one was kept in GL core and the other two were explicitly deprecated and the reasonable default behavior was encoded in the spec. By not exposing the extension, we avoid shader recompiles when switching between float and unorm color buffers. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
ec143dc0b1
commit
bd850cb4f2
1 changed files with 2 additions and 1 deletions
|
|
@ -125,7 +125,8 @@ intelInitExtensions(struct gl_context *ctx)
|
|||
if (intel->gen >= 4) {
|
||||
if (ctx->API == API_OPENGL_CORE)
|
||||
ctx->Extensions.ARB_base_instance = true;
|
||||
ctx->Extensions.ARB_color_buffer_float = true;
|
||||
if (ctx->API != API_OPENGL_CORE)
|
||||
ctx->Extensions.ARB_color_buffer_float = true;
|
||||
ctx->Extensions.ARB_depth_buffer_float = true;
|
||||
ctx->Extensions.ARB_depth_clamp = true;
|
||||
ctx->Extensions.ARB_draw_instanced = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue