[Nouveau] [PATCH 4/4] nv30: Avoid swizzle|linear FB
Roy Spliet
r.spliet at student.tudelft.nl
Wed May 9 15:06:33 PDT 2012
Signed-off-by: Roy Spliet <r.spliet at student.tudelft.nl>
---
src/gallium/drivers/nv30/nv30_state_validate.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nv30/nv30_state_validate.c b/src/gallium/drivers/nv30/nv30_state_validate.c
index ae7955b..87c1978 100644
--- a/src/gallium/drivers/nv30/nv30_state_validate.c
+++ b/src/gallium/drivers/nv30/nv30_state_validate.c
@@ -95,6 +95,7 @@ nv30_validate_fb(struct nv30_context *nv30)
if (rt_format & NV30_3D_RT_FORMAT_TYPE_SWIZZLED) {
rt_format |= util_logbase2(w) << 16;
rt_format |= util_logbase2(h) << 24;
+ rt_format &= ~NV30_3D_RT_FORMAT_TYPE_LINEAR;
}
if (!PUSH_SPACE(push, 64))
--
1.7.7.6
More information about the Nouveau
mailing list