summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/cubetexture9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-01-26 18:14:02 +0100
committerAxel Davy <[email protected]>2016-02-12 23:26:36 +0100
commit3a2e0c77848120f44031d2deb91108ff8e951d85 (patch)
treee2010cf7bf43b30489649381824c55bc7201a0a8 /src/gallium/state_trackers/nine/cubetexture9.c
parent6c4774bbe4f259cf7af329ce6493d9b50310689f (diff)
st/nine: Support ATI1/ATI2 for CubeTexture
Texture and CubeTexture use common code, and thus ATI1/ATI2 is already implemented for CubeTexture. Signed-off-by: Axel Davy <[email protected]> Reviewed-by: Patrick Rudolph <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/cubetexture9.c')
-rw-r--r--src/gallium/state_trackers/nine/cubetexture9.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/nine/cubetexture9.c b/src/gallium/state_trackers/nine/cubetexture9.c
index 1749190b38a..03b5fcad60e 100644
--- a/src/gallium/state_trackers/nine/cubetexture9.c
+++ b/src/gallium/state_trackers/nine/cubetexture9.c
@@ -69,10 +69,6 @@ NineCubeTexture9_ctor( struct NineCubeTexture9 *This,
if (pf == PIPE_FORMAT_NONE)
return D3DERR_INVALIDCALL;
- /* We support ATI1 and ATI2 hacks only for 2D textures */
- if (Format == D3DFMT_ATI1 || Format == D3DFMT_ATI2)
- return D3DERR_INVALIDCALL;
-
if (compressed_format(Format)) {
const unsigned w = util_format_get_blockwidth(pf);
const unsigned h = util_format_get_blockheight(pf);