summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-06-23 09:32:59 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2014-07-02 20:20:53 -0400
commit6c544e5413a6c551bf965817f7f238903b367b24 (patch)
tree10927c16c70d3a9ff23a7b000586aebbd8ae4cd0
parent6ded75ed08aed8a88b638c664efbfe14e0476f37 (diff)
downloadexternal_mesa3d-6c544e5413a6c551bf965817f7f238903b367b24.zip
external_mesa3d-6c544e5413a6c551bf965817f7f238903b367b24.tar.gz
external_mesa3d-6c544e5413a6c551bf965817f7f238903b367b24.tar.bz2
mesa/st: enable ARB_fragment_layer_viewport
If multiple viewports are supported, that implies the presence of a GS and layered rendering, so we can enable ARB_fragment_layer_viewport as well. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
-rw-r--r--docs/GL3.txt2
-rw-r--r--docs/relnotes/10.3.html1
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 8ef4947..296e14c 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -161,7 +161,7 @@ GL 4.3:
GL_ARB_copy_image not started
GL_KHR_debug DONE (all drivers)
GL_ARB_explicit_uniform_location DONE (all drivers that support GLSL)
- GL_ARB_fragment_layer_viewport not started
+ GL_ARB_fragment_layer_viewport DONE (nv50, nvc0, r600)
GL_ARB_framebuffer_no_attachments not started
GL_ARB_internalformat_query2 not started
GL_ARB_invalidate_subdata DONE (all drivers)
diff --git a/docs/relnotes/10.3.html b/docs/relnotes/10.3.html
index 47d2c5f..9af7210 100644
--- a/docs/relnotes/10.3.html
+++ b/docs/relnotes/10.3.html
@@ -54,6 +54,7 @@ Note: some of the new features are only available with certain drivers.
<li>GL_ARB_texture_query_lod on radeonsi</li>
<li>GL_ARB_viewport_array on nvc0</li>
<li>GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe</li>
+<li>GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600</li>
</ul>
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index bfad04f..9824135 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -815,6 +815,7 @@ void st_init_extensions(struct st_context *st)
ctx->Const.ViewportBounds.Min = -16384.0;
ctx->Const.ViewportBounds.Max = 16384.0;
ctx->Extensions.ARB_viewport_array = GL_TRUE;
+ ctx->Extensions.ARB_fragment_layer_viewport = GL_TRUE;
}
}
if (ctx->Const.MaxProgramTextureGatherComponents > 0)