summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-13 10:43:26 -0700
committerEric Anholt <[email protected]>2014-08-15 12:01:32 -0700
commitf663102585f9654200e531b42d5e8831ba7ed77f (patch)
treec30b2a743f67386b62014714e07d03da468031f6 /src/gallium/drivers
parenta8f16054ca7bc9bbb5d9e7625be41507684923af (diff)
vc4: Drop incorrect attempt to incorrectly invert the primconvert hw_mask.
The hw_mask is the set of primitives you actually support, so this attempt to provide the set of formats that's unsupported was wrong in two ways (it was intended to be '~' not '!'). However, we only call this code when prim isn't one of the actually supported hw_mask bits, so missing out on the memcpy didn't matter anyway.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/vc4/vc4_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c
index 2fc571a26ad..1ffaab12765 100644
--- a/src/gallium/drivers/vc4/vc4_context.c
+++ b/src/gallium/drivers/vc4/vc4_context.c
@@ -303,7 +303,7 @@ vc4_context_create(struct pipe_screen *pscreen, void *priv)
goto fail;
vc4->primconvert = util_primconvert_create(pctx,
- !((1 << PIPE_PRIM_QUADS) - 1));
+ (1 << PIPE_PRIM_QUADS) - 1);
if (!vc4->primconvert)
goto fail;