diff options
author | Rob Clark <[email protected]> | 2019-06-12 13:24:33 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-06-15 07:33:04 -0700 |
commit | a417c323adec50c7d5abb5d6a7e511dbb96b57b8 (patch) | |
tree | 9b9ee10730d37066dacca8ee30491ac130523326 /src/gallium/drivers/freedreno/a6xx | |
parent | 363a9ed614b343d75482f42fbd32d7616070d8ea (diff) |
freedreno/a6xx: re-enable UBWC for depth/stencil
Now that we can blit depth/stencil in a way that plays nicely with UBWC,
re-enable it.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_resource.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c index 7678e54bc73..9ad216870e8 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_resource.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_resource.c @@ -194,6 +194,8 @@ ok_ubwc_format(enum a6xx_color_fmt fmt) case RB6_R8G8_SINT: case RB6_R8G8_UINT: case RB6_R8G8_UNORM: + case RB6_X8Z24_UNORM: + case RB6_Z24_UNORM_S8_UINT: return true; default: return false; |