radeonsi: Enable texture arrays.

28/30 piglit tests pass.

NOTE: This is a candidate for the 9.1 branch.
This commit is contained in:
Michel Dänzer 2013-01-25 18:30:30 +01:00 committed by Michel Dänzer
parent 120efeef8b
commit 6bcb823844

View 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;