radeonsi: Enable texture arrays.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 25 Jan 2013 17:30:30 +0000 (18:30 +0100)
committerMichel Dänzer <michel@daenzer.net>
Mon, 4 Feb 2013 16:03:25 +0000 (17:03 +0100)
28/30 piglit tests pass.

NOTE: This is a candidate for the 9.1 branch.

src/gallium/drivers/radeonsi/radeonsi_pipe.c

index aef9b865b4066d5a1c534d7554f20d9b1dd8607d..cebe9d37e78e61335c9778ed35b6dc729b8bc220 100644 (file)
@@ -380,7 +380,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
                        return 15;
        case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS:
-               return /*rscreen->info.drm_minor >= 9 ? 16384 :*/ 0;
+               return 16384;
        case PIPE_CAP_MAX_COMBINED_SAMPLERS:
                return 32;