summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-10-13 21:39:42 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-10-13 21:45:21 -0400
commitafb6dc53bff58c137d07ca5b58c50debce5729d8 (patch)
treef5610589ddd81ba06d16e80c73700ea3fa317fe4
parenta6d6eff2e6ea2ccd585fe9bf1e159979cd3047df (diff)
downloadexternal_mesa3d-afb6dc53bff58c137d07ca5b58c50debce5729d8.zip
external_mesa3d-afb6dc53bff58c137d07ca5b58c50debce5729d8.tar.gz
external_mesa3d-afb6dc53bff58c137d07ca5b58c50debce5729d8.tar.bz2
nv50: enable ARB_enhanced_layouts
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
-rw-r--r--docs/features.txt4
-rw-r--r--docs/relnotes/12.1.0.html2
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_screen.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/features.txt b/docs/features.txt
index ec2634f..7713808 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -193,11 +193,11 @@ GL 4.4, GLSL 4.40 -- all DONE: i965/gen8+, radeonsi
GL_MAX_VERTEX_ATTRIB_STRIDE DONE (all drivers)
GL_ARB_buffer_storage DONE (i965, nv50, nvc0, r600)
GL_ARB_clear_texture DONE (i965, nv50, nvc0, r600)
- GL_ARB_enhanced_layouts DONE (i965, llvmpipe, softpipe)
+ GL_ARB_enhanced_layouts DONE (i965, nv50, nvc0, llvmpipe, softpipe)
- compile-time constant expressions DONE
- explicit byte offsets for blocks DONE
- forced alignment within blocks DONE
- - specified vec4-slot component numbers DONE (i965, llvmpipe, softpipe)
+ - specified vec4-slot component numbers DONE (i965, nv50, nvc0, llvmpipe, softpipe)
- specified transform/feedback layout DONE
- input/output block locations DONE
GL_ARB_multi_bind DONE (all drivers)
diff --git a/docs/relnotes/12.1.0.html b/docs/relnotes/12.1.0.html
index 20fd2cb..c7e4d01 100644
--- a/docs/relnotes/12.1.0.html
+++ b/docs/relnotes/12.1.0.html
@@ -51,7 +51,7 @@ Note: some of the new features are only available with certain drivers.
<li>GL_ARB_clear_texture on r600, radeonsi</li>
<li>GL_ARB_compute_variable_group_size on nvc0, radeonsi</li>
<li>GL_ARB_cull_distance on radeonsi</li>
-<li>GL_ARB_enhanced_layouts on i965, radeonsi, llvmpipe, softpipe</li>
+<li>GL_ARB_enhanced_layouts on i965, nv50, nvc0, radeonsi, llvmpipe, softpipe</li>
<li>GL_ARB_indirect_parameters on radeonsi</li>
<li>GL_ARB_query_buffer_object on radeonsi</li>
<li>GL_ARB_shader_draw_parameters on radeonsi</li>
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
index 99ad90a..2901730 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
@@ -197,6 +197,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_INVALIDATE_BUFFER:
case PIPE_CAP_STRING_MARKER:
case PIPE_CAP_CULL_DISTANCE:
+ case PIPE_CAP_TGSI_ARRAY_COMPONENTS:
return 1;
case PIPE_CAP_SEAMLESS_CUBE_MAP:
return 1; /* class_3d >= NVA0_3D_CLASS; */
@@ -253,7 +254,6 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_TGSI_VOTE:
case PIPE_CAP_POLYGON_OFFSET_UNITS_UNSCALED:
case PIPE_CAP_VIEWPORT_SUBPIXEL_BITS:
- case PIPE_CAP_TGSI_ARRAY_COMPONENTS:
return 0;
case PIPE_CAP_VENDOR_ID: