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/kernel | |
parent | 4b18d51756e9099710bfe421657b3b2034e1497f (diff) |
vc4: Add support for loading sample mask.
Diffstat (limited to 'src/gallium/drivers/vc4/kernel')
-rw-r--r-- | src/gallium/drivers/vc4/kernel/vc4_packet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/kernel/vc4_packet.h b/src/gallium/drivers/vc4/kernel/vc4_packet.h index 771e2b78761..9c12d331f61 100644 --- a/src/gallium/drivers/vc4/kernel/vc4_packet.h +++ b/src/gallium/drivers/vc4/kernel/vc4_packet.h @@ -121,6 +121,9 @@ enum vc4_packet { #define VC4_PACKET_TILE_COORDINATES_SIZE 3 #define VC4_PACKET_GEM_HANDLES_SIZE 9 +/* Number of multisamples supported. */ +#define VC4_MAX_SAMPLES 4 + #define VC4_MASK(high, low) (((1 << ((high) - (low) + 1)) - 1) << (low)) /* Using the GNU statement expression extension */ #define VC4_SET_FIELD(value, field) \ |