diff options
author | Eric Anholt <[email protected]> | 2015-11-20 17:11:18 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-12-04 09:10:53 -0800 |
commit | a664233042e1ad343184a0c237c3bd7ac5010779 (patch) | |
tree | fd2d188d22e866abaea77a3ce2d6c531b0eea910 /src/gallium/drivers/vc4/vc4_context.c | |
parent | 4b18d51756e9099710bfe421657b3b2034e1497f (diff) |
vc4: Add support for loading sample mask.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index d490fad5167..4f3e2263f56 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -245,6 +245,8 @@ vc4_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) vc4_debug |= saved_shaderdb_flag; + vc4->sample_mask = (1 << VC4_MAX_SAMPLES) - 1; + return &vc4->base; fail: |