Module: Mesa
Branch: master
Commit: afb6dc53bff58c137d07ca5b58c50debce5729d8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=afb6dc53bff58c137d07ca5b58c50debce5729d8

Author: Ilia Mirkin <imir...@alum.mit.edu>
Date:   Thu Oct 13 21:39:42 2016 -0400

nv50: enable ARB_enhanced_layouts

Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu>

---

 docs/features.txt                              | 4 ++--
 docs/relnotes/12.1.0.html                      | 2 +-
 src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 +-
 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:

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to