diff options
author | Eric Anholt <[email protected]> | 2018-02-02 08:50:51 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-02-02 16:27:49 -0800 |
commit | 6a862b0de711955902d4d58f1b0c6063e76207a6 (patch) | |
tree | d03f3f37e83d97df4779163dcc8242080983b532 /src/gallium/drivers/vc5/vc5_resource.h | |
parent | 5c57e0a54989764ed6aed54582f2d9e51b064726 (diff) |
broadcom/vc5: Fix alignment of miplevel 1 with UIF.
The alignment here means that we can't get back the padded height from the
size/stride any more, so it's now a field in the slice as well.
Fixes piglit fbo-generatemipmap-formats RGBA16 NPOT.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_resource.h')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_resource.h b/src/gallium/drivers/vc5/vc5_resource.h index 31b2b66cf63..1bba480115b 100644 --- a/src/gallium/drivers/vc5/vc5_resource.h +++ b/src/gallium/drivers/vc5/vc5_resource.h @@ -73,6 +73,7 @@ struct vc5_transfer { struct vc5_resource_slice { uint32_t offset; uint32_t stride; + uint32_t padded_height; uint32_t size; uint8_t ub_pad; enum vc5_tiling_mode tiling; |