mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
freedreno/a6xx: enable tiled compressed textures
I wasn't expecting this to be too useful, since compressed textures are already block based.. but gfxbench gl_fill says otherwise. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4868>
This commit is contained in:
parent
193560c44b
commit
e8cdf12511
1 changed files with 3 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ ok_format(enum pipe_format pfmt)
|
|||
{
|
||||
enum a6xx_format fmt = fd6_pipe2color(pfmt);
|
||||
|
||||
if (util_format_is_compressed(pfmt))
|
||||
return true;
|
||||
|
||||
switch (pfmt) {
|
||||
case PIPE_FORMAT_Z24_UNORM_S8_UINT:
|
||||
case PIPE_FORMAT_Z24X8_UNORM:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue