diff options
author | Eric Anholt <[email protected]> | 2014-08-02 20:44:39 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-11 14:45:32 -0700 |
commit | 5692122147ef19591e16f708d158ae014d2f6bfe (patch) | |
tree | 39890fea7eebbdaef9b0fcac18ac9d5464bbbe33 /src/gallium/drivers | |
parent | aaff32ded0ef0e6b15af883831cc3ccb7b16efc4 (diff) |
vc4: Fix the shader record size for extended strides.
It turns out they aren't packed when attributes are missing, according to
both docs and simulation.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_simulator_validate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate.c b/src/gallium/drivers/vc4/vc4_simulator_validate.c index 0fbe0b19cfc..ff97963cf88 100644 --- a/src/gallium/drivers/vc4/vc4_simulator_validate.c +++ b/src/gallium/drivers/vc4/vc4_simulator_validate.c @@ -90,6 +90,7 @@ gl_shader_rec_size(uint32_t pointer_bits) { uint32_t attribute_count = pointer_bits & 7; bool extended = pointer_bits & 8; + uint32_t size; if (attribute_count == 0) attribute_count = 8; |