diff options
author | Eric Anholt <[email protected]> | 2014-08-09 11:01:53 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-11 14:47:54 -0700 |
commit | 602a3f92d4d695e116794597db81623a8fd4c653 (patch) | |
tree | 0798512f21474a60fb316f5b282f2fcffbde4f95 /src/gallium | |
parent | f097516505daaaf5c25c919d56cbce54eb441a48 (diff) |
vc4: Flip which primitives are considered front-facing.
This mostly fixes glxgears rendering.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_state.c b/src/gallium/drivers/vc4/vc4_state.c index 69fd2187720..d2c53a5b8eb 100644 --- a/src/gallium/drivers/vc4/vc4_state.c +++ b/src/gallium/drivers/vc4/vc4_state.c @@ -101,7 +101,7 @@ vc4_create_rasterizer_state(struct pipe_context *pctx, /* XXX: per_vertex */ so->point_size = cso->point_size; - if (!cso->front_ccw) + if (cso->front_ccw) so->config_bits[0] |= VC4_CONFIG_BITS_CW_PRIMITIVES; if (cso->offset_tri) |