diff options
author | Eric Anholt <[email protected]> | 2017-12-29 11:48:41 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-03 14:25:23 -0800 |
commit | 476469955225e15f454e01dc80047dd5fa5c9f97 (patch) | |
tree | 57ea220e209807c33f0eed0c70c0a57863beeecb /src/gallium/drivers/vc5/vc5_context.h | |
parent | ba965084b60e702b41beaea75237bfa39335b6cb (diff) |
braodcom/vc5: Rely on OVRTMUOUT always being set.
It seems that the HW team has decided that it's the only supported mode,
and it's the mode I actually meant to be using but forgot. Our table of
return_32_bit should have matched the default non-OVRTMUOUT behavior, so
this change should be invisible.
However, the change revealed that some my return_size checks for swizzling
were a bit confused in the shadow case, so I had to move them to draw time
once we have both the sampler and the view together.
Fixes assertion failures in the updated simulator, where the non-OVRTMUOUT
support has been removed.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_context.h')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_context.h b/src/gallium/drivers/vc5/vc5_context.h index 73fb0d0bc53..04ab506f035 100644 --- a/src/gallium/drivers/vc5/vc5_context.h +++ b/src/gallium/drivers/vc5/vc5_context.h @@ -493,7 +493,8 @@ bool vc5_rt_format_supported(enum pipe_format f); bool vc5_tex_format_supported(enum pipe_format f); uint8_t vc5_get_rt_format(enum pipe_format f); uint8_t vc5_get_tex_format(enum pipe_format f); -uint8_t vc5_get_tex_return_size(enum pipe_format f); +uint8_t vc5_get_tex_return_size(enum pipe_format f, + enum pipe_tex_compare compare); uint8_t vc5_get_tex_return_channels(enum pipe_format f); const uint8_t *vc5_get_format_swizzle(enum pipe_format f); void vc5_get_internal_type_bpp_for_output_format(uint32_t format, |