diff options
author | Francisco Jerez <[email protected]> | 2018-02-12 14:31:32 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2018-02-24 15:28:36 -0800 |
commit | 6a8ec78c2ab12d75f16e4a2f95e9be014dae021e (patch) | |
tree | 81b05ad9761a6830bd9a4d10cea3986a7e675abd /src/mesa/drivers | |
parent | d0bef79f12aca8d3db323cc49881100be16905fb (diff) |
mesa: Rename MESA_shader_framebuffer_fetch gl_extensions bits to EXT.
The changes I had originally planned for the MESA_shader_framebuffer_fetch
extension have been merged into the EXT spec, there's no point in keeping
MESA_shader_framebuffer_fetch extension enables.
Reviewed-by: Plamena Manolova <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 50cf8b12c74..299e7f929e7 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -513,7 +513,7 @@ brw_predraw_resolve_framebuffer(struct brw_context *brw, } /* Resolve color buffers for non-coherent framebuffer fetch. */ - if (!ctx->Extensions.MESA_shader_framebuffer_fetch && + if (!ctx->Extensions.EXT_shader_framebuffer_fetch && ctx->FragmentProgram._Current && ctx->FragmentProgram._Current->info.outputs_read) { const struct gl_framebuffer *fb = ctx->DrawBuffer; diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 684890e8bae..527f003977b 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -318,7 +318,7 @@ brw_framebuffer_fetch_barrier(struct gl_context *ctx) struct brw_context *brw = brw_context(ctx); const struct gen_device_info *devinfo = &brw->screen->devinfo; - if (!ctx->Extensions.MESA_shader_framebuffer_fetch) { + if (!ctx->Extensions.EXT_shader_framebuffer_fetch) { if (devinfo->gen >= 6) { brw_emit_pipe_control_flush(brw, PIPE_CONTROL_RENDER_TARGET_FLUSH | diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index cfc2d47a679..68d4ab88d77 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -573,7 +573,7 @@ brw_wm_populate_key(struct brw_context *brw, struct brw_wm_prog_key *key) key->program_string_id = fp->id; /* Whether reads from the framebuffer should behave coherently. */ - key->coherent_fb_fetch = ctx->Extensions.MESA_shader_framebuffer_fetch; + key->coherent_fb_fetch = ctx->Extensions.EXT_shader_framebuffer_fetch; } void @@ -645,7 +645,7 @@ brw_fs_precompile(struct gl_context *ctx, struct gl_program *prog) key.program_string_id = bfp->id; /* Whether reads from the framebuffer should behave coherently. */ - key.coherent_fb_fetch = ctx->Extensions.MESA_shader_framebuffer_fetch; + key.coherent_fb_fetch = ctx->Extensions.EXT_shader_framebuffer_fetch; uint32_t old_prog_offset = brw->wm.base.prog_offset; struct brw_stage_prog_data *old_prog_data = brw->wm.base.prog_data; diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index 32d9e2c70ff..23bf5a266c5 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -1032,7 +1032,7 @@ update_renderbuffer_read_surfaces(struct brw_context *brw) brw_wm_prog_data(brw->wm.base.prog_data); if (wm_prog_data->has_render_target_reads && - !ctx->Extensions.MESA_shader_framebuffer_fetch) { + !ctx->Extensions.EXT_shader_framebuffer_fetch) { /* _NEW_BUFFERS */ const struct gl_framebuffer *fb = ctx->DrawBuffer; diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 5a6b12e52a4..127371c5b83 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -153,7 +153,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.MESA_shader_integer_functions = ctx->Const.GLSLVersion >= 130; if (devinfo->is_g4x || devinfo->gen >= 5) { - ctx->Extensions.MESA_shader_framebuffer_fetch_non_coherent = true; + ctx->Extensions.EXT_shader_framebuffer_fetch_non_coherent = true; ctx->Extensions.KHR_blend_equation_advanced = true; } @@ -292,7 +292,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.KHR_texture_compression_astc_ldr = true; ctx->Extensions.KHR_texture_compression_astc_sliced_3d = true; ctx->Extensions.INTEL_conservative_rasterization = true; - ctx->Extensions.MESA_shader_framebuffer_fetch = true; + ctx->Extensions.EXT_shader_framebuffer_fetch = true; ctx->Extensions.ARB_post_depth_coverage = true; } |