radeonsi: enable ARB_sample_shading
authorMarek Olšák <marek.olsak@amd.com>
Wed, 7 May 2014 11:15:41 +0000 (13:15 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 2 Jun 2014 11:01:27 +0000 (13:01 +0200)
docs/GL3.txt
docs/relnotes/10.3.html
src/gallium/drivers/radeonsi/si_pipe.c

index c360f2cb7a71eadd392d1f777d452905f3c38fbf..c98dd9fe500083f704beb10971744922bab9c450 100644 (file)
@@ -114,7 +114,7 @@ GL 4.0:
   - Interpolation functions                            started
   - New overload resolution rules                      not started
   GL_ARB_gpu_shader_fp64                               not started
-  GL_ARB_sample_shading                                DONE (i965, nv50, nvc0)
+  GL_ARB_sample_shading                                DONE (i965, nv50, nvc0, radeonsi)
   GL_ARB_shader_subroutine                             not started
   GL_ARB_tessellation_shader                           not started
   GL_ARB_texture_buffer_object_rgb32                   DONE (i965, nvc0, r600, radeonsi, softpipe)
index 6bb9e7989ba4f792fd5a5e25ad6ef66603781c61..0c8114bf2c563353a69ecad4658eb48997c56af5 100644 (file)
@@ -44,6 +44,7 @@ Note: some of the new features are only available with certain drivers.
 </p>
 
 <ul>
+<li>GL_ARB_sample_shading on radeonsi</li>
 <li>GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi</li>
 <li>GL_ARB_texture_cube_map_array on radeonsi</li>
 </ul>
index bd878fe0643df04b4bbfc8934274e2984b31f5e6..4b96f20b5117981b274d44f4eb612ebeb73f914d 100644 (file)
@@ -213,6 +213,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_QUERY_PIPELINE_STATISTICS:
        case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
        case PIPE_CAP_CUBE_MAP_ARRAY:
+       case PIPE_CAP_SAMPLE_SHADING:
                return 1;
 
        case PIPE_CAP_TEXTURE_MULTISAMPLE:
@@ -246,7 +247,6 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_TGSI_TEXCOORD:
        case PIPE_CAP_FAKE_SW_MSAA:
        case PIPE_CAP_TEXTURE_QUERY_LOD:
-       case PIPE_CAP_SAMPLE_SHADING:
        case PIPE_CAP_TEXTURE_GATHER_OFFSETS:
        case PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION:
                return 0;