From 234cf647a45370fe495a24a7a16e5ee20c3735ef Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 23 Jun 2018 17:19:50 -0700 Subject: [PATCH] iris: tidy comments about mirroring modes --- src/gallium/drivers/iris/iris_state.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index d35bcd4eb28..91ff1f811a4 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -738,8 +738,10 @@ translate_wrap(unsigned pipe_wrap) [PIPE_TEX_WRAP_CLAMP_TO_BORDER] = TCM_CLAMP_BORDER, [PIPE_TEX_WRAP_MIRROR_REPEAT] = TCM_MIRROR, [PIPE_TEX_WRAP_MIRROR_CLAMP_TO_EDGE] = TCM_MIRROR_ONCE, - [PIPE_TEX_WRAP_MIRROR_CLAMP] = -1, // XXX: ??? - [PIPE_TEX_WRAP_MIRROR_CLAMP_TO_BORDER] = -1, // XXX: ??? + + /* These are unsupported. */ + [PIPE_TEX_WRAP_MIRROR_CLAMP] = -1, + [PIPE_TEX_WRAP_MIRROR_CLAMP_TO_BORDER] = -1, }; return map[pipe_wrap]; } -- 2.30.2