diff options
author | Eric Anholt <[email protected]> | 2017-11-01 15:28:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-11-07 09:40:24 -0800 |
commit | 47bd9dac197ab47313cfb48a60f7a9e3a2ac3877 (patch) | |
tree | bf8956dcaec884332f8a18a892571c70461678ff /src/gallium/drivers/vc5/vc5_context.h | |
parent | 3be820477fbec5e771d6a35148d08a7507533cfd (diff) |
broadcom/vc5: Fix translation of stencil ops.
They aren't quite in the same order as the gallium defines. Fixes piglit
gl-2.0-two-sided-stencil.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_context.h')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc5/vc5_context.h b/src/gallium/drivers/vc5/vc5_context.h index dcaf45aee91..298dfacf872 100644 --- a/src/gallium/drivers/vc5/vc5_context.h +++ b/src/gallium/drivers/vc5/vc5_context.h @@ -395,8 +395,8 @@ struct vc5_depth_stencil_alpha_state { */ uint32_t stencil_uniforms[3]; - uint8_t stencil_front[8]; - uint8_t stencil_back[8]; + uint8_t stencil_front[6]; + uint8_t stencil_back[6]; }; #define perf_debug(...) do { \ |