r600g: expose AMD_vertex_shader_layer and *_viewport_index on R600-R700
authorMarek Olšák <marek.olsak@amd.com>
Wed, 20 Aug 2014 17:17:39 +0000 (19:17 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 1 Sep 2014 19:18:45 +0000 (21:18 +0200)
already implemented

Acked-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/r600/r600_pipe.c

index 566e724d02bf58a0d59265c31182b637bd5302d2..6e00efff35ad5e623ac7ee7c55021edfcda3e100 100644 (file)
@@ -261,6 +261,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_TEXTURE_MULTISAMPLE:
        case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
        case PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION:
+       case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT:
                return 1;
 
        case PIPE_CAP_COMPUTE:
@@ -301,7 +302,6 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        /* Supported on Evergreen. */
        case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
        case PIPE_CAP_CUBE_MAP_ARRAY:
-       case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT:
        case PIPE_CAP_TEXTURE_GATHER_SM5:
        case PIPE_CAP_TEXTURE_QUERY_LOD:
        case PIPE_CAP_TGSI_FS_FINE_DERIVATIVE: