summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_clone.cpp
diff options
context:
space:
mode:
authorAlex Smith <[email protected]>2018-03-12 14:30:05 +0000
committerAlex Smith <[email protected]>2018-03-14 09:59:21 +0000
commitfcf267ba087dd00c48ceaf9277424dac079f9319 (patch)
tree27457c660bc5e625e75dae885c6c26eaed39cb1c /src/compiler/glsl/ir_clone.cpp
parent38f34117dd11ec92e9fda0157b52fa215e310275 (diff)
radv: Fix CmdCopyImage between uncompressed and compressed images
From the spec: "When copying between compressed and uncompressed formats the extent members represent the texel dimensions of the source image and not the destination." However, as per 7b890a36, we must still use the destination image type when clamping the extent so that we copy the correct number of layers for 2D to 3D copies. Fixes: 7b890a36 "radv: Fix vkCmdCopyImage for 2d slices into 3d Images" Cc: <[email protected]> Signed-off-by: Alex Smith <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_clone.cpp')
0 files changed, 0 insertions, 0 deletions