summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_if.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-12-13 09:15:33 -0500
committerRob Clark <[email protected]>2018-12-13 15:51:01 -0500
commit0ac5acaeaaa651d850d77ebab094fa851a7ee06d (patch)
treed7a7bd0c36deb86dd35996a93c103aff60d60414 /src/compiler/nir/nir_opt_if.c
parent4ec2f6129b9283d81b5dc8d95d304b243ec5145c (diff)
freedreno/a6xx: fix resource_copy_region()
pctx->resource_copy_region() needs to fall back to sw copy for non-renderable formats. But previously for things that we could not use the blitter for, would fall back to 3d. Which won't work if 3d can't render to the dst format either. Instead rework things to fallback to fd_resource_copy_region(), which will try 3d core and then fall back to memcpy(). Fixes (for example) dEQP-GLES3.functional.texture.format.sized.2d.rgb9_e5_pot Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_opt_if.c')
0 files changed, 0 insertions, 0 deletions