Commit da3e6451 by Ian Elliott Committed by Commit Bot

Vulkan: Fix fbo_invalidate tests for pre-rotation

The BlitFramebuffer path wasn't properly supporting stencil and MSAA paths for pre-rotation: 1) The stencil path on Android isn't going through UtilsVk::blitResolveImpl, but requires changing UtilsVk::stencilBlitResolveNoShaderExport for rotation. 2) MSAA resolves requires rotating clippedSourceArea. Test: angle_deqp_gles3_tests --gtest_filter=dEQP.GLES3/functional_fbo_invalidate_\* Bug: b/158337857 Change-Id: I092cab302c247ff9b2e262b12de3d1a56a257f8e Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2269499 Commit-Queue: Ian Elliott <ianelliott@google.com> Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
parent d4874cb3
...@@ -50,13 +50,13 @@ ...@@ -50,13 +50,13 @@
"src/libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000017.inc": "src/libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000017.inc":
"b1f8eeae6d43c6270ec9733045f28409", "b1f8eeae6d43c6270ec9733045f28409",
"src/libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000000.inc": "src/libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000000.inc":
"4b02664d4a0cd3ac463f88c69f2a7ede", "641198afcc60eeaafb20cf46034cda43",
"src/libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000001.inc": "src/libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000001.inc":
"08516850eeb3b660fe7305d688c09ada", "47cf2bcb705cbafd13992c65b75d97de",
"src/libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000002.inc": "src/libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000002.inc":
"109b59847ca22179c0b0dc6d9125327b", "accf3f9f9da6376039cf80e6e8e7cee6",
"src/libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000003.inc": "src/libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000003.inc":
"0187be6a493b8db2c5f82c36597ea3bd", "056c8ff270ac0bd1f600ec89777cb341",
"src/libANGLE/renderer/vulkan/shaders/gen/BufferUtils.comp.00000000.inc": "src/libANGLE/renderer/vulkan/shaders/gen/BufferUtils.comp.00000000.inc":
"8338c6fdde47f6a7ee8423690691e868", "8338c6fdde47f6a7ee8423690691e868",
"src/libANGLE/renderer/vulkan/shaders/gen/BufferUtils.comp.00000001.inc": "src/libANGLE/renderer/vulkan/shaders/gen/BufferUtils.comp.00000001.inc":
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
"src/libANGLE/renderer/vulkan/shaders/src/BlitResolve.frag.json": "src/libANGLE/renderer/vulkan/shaders/src/BlitResolve.frag.json":
"353929c45304fe9c327b50a53c5f1918", "353929c45304fe9c327b50a53c5f1918",
"src/libANGLE/renderer/vulkan/shaders/src/BlitResolveStencilNoExport.comp": "src/libANGLE/renderer/vulkan/shaders/src/BlitResolveStencilNoExport.comp":
"3080e264f932ce3a219bb63c79b86636", "e4b03e5d1d1b0c0336453e98675bbb40",
"src/libANGLE/renderer/vulkan/shaders/src/BlitResolveStencilNoExport.comp.json": "src/libANGLE/renderer/vulkan/shaders/src/BlitResolveStencilNoExport.comp.json":
"8a3e9ff34eba0386edb98048547a272b", "8a3e9ff34eba0386edb98048547a272b",
"src/libANGLE/renderer/vulkan/shaders/src/BufferUtils.comp": "src/libANGLE/renderer/vulkan/shaders/src/BufferUtils.comp":
......
...@@ -776,8 +776,10 @@ angle::Result FramebufferVk::blit(const gl::Context *context, ...@@ -776,8 +776,10 @@ angle::Result FramebufferVk::blit(const gl::Context *context,
gl::Rectangle srcClippedDestArea; gl::Rectangle srcClippedDestArea;
if (isResolve) if (isResolve)
{ {
// Source and dest areas are identical in resolve. // Source and dest areas are identical in resolve (except rotate it, if appropriate).
srcClippedDestArea = clippedSourceArea; srcClippedDestArea = clippedSourceArea;
AdjustBlitAreaForPreRotation(destFramebufferRotation, clippedSourceArea,
destFramebufferDimensions, &srcClippedDestArea);
} }
else if (clippedSourceArea == absSourceArea) else if (clippedSourceArea == absSourceArea)
{ {
......
...@@ -1537,6 +1537,8 @@ angle::Result UtilsVk::stencilBlitResolveNoShaderExport(ContextVk *contextVk, ...@@ -1537,6 +1537,8 @@ angle::Result UtilsVk::stencilBlitResolveNoShaderExport(ContextVk *contextVk,
blitBuffer.get().retain(&contextVk->getResourceUseList()); blitBuffer.get().retain(&contextVk->getResourceUseList());
BlitResolveStencilNoExportShaderParams shaderParams; BlitResolveStencilNoExportShaderParams shaderParams;
// Note: adjustments made for pre-rotatation in FramebufferVk::blit() affect these
// Calculate*Offset() functions.
if (isResolve) if (isResolve)
{ {
CalculateResolveOffset(params, shaderParams.offset.resolve); CalculateResolveOffset(params, shaderParams.offset.resolve);
...@@ -1558,6 +1560,46 @@ angle::Result UtilsVk::stencilBlitResolveNoShaderExport(ContextVk *contextVk, ...@@ -1558,6 +1560,46 @@ angle::Result UtilsVk::stencilBlitResolveNoShaderExport(ContextVk *contextVk,
shaderParams.blitArea[3] = params.blitArea.height; shaderParams.blitArea[3] = params.blitArea.height;
shaderParams.flipX = params.flipX; shaderParams.flipX = params.flipX;
shaderParams.flipY = params.flipY; shaderParams.flipY = params.flipY;
shaderParams.rotateXY = 0;
// Potentially make adjustments for pre-rotatation. Depending on the angle some of the
// shaderParams need to be adjusted.
switch (params.rotation)
{
case SurfaceRotation::Identity:
break;
case SurfaceRotation::Rotated90Degrees:
shaderParams.rotateXY = 1;
break;
case SurfaceRotation::Rotated180Degrees:
if (isResolve)
{
shaderParams.offset.resolve[0] += params.rotatedOffsetFactor[0];
shaderParams.offset.resolve[1] += params.rotatedOffsetFactor[1];
}
else
{
shaderParams.offset.blit[0] += params.rotatedOffsetFactor[0];
shaderParams.offset.blit[1] += params.rotatedOffsetFactor[1];
}
break;
case SurfaceRotation::Rotated270Degrees:
if (isResolve)
{
shaderParams.offset.resolve[0] += params.rotatedOffsetFactor[0];
shaderParams.offset.resolve[1] += params.rotatedOffsetFactor[1];
}
else
{
shaderParams.offset.blit[0] += params.rotatedOffsetFactor[0];
shaderParams.offset.blit[1] += params.rotatedOffsetFactor[1];
}
shaderParams.rotateXY = 1;
break;
default:
UNREACHABLE();
break;
}
// Linear sampling is only valid with color blitting. // Linear sampling is only valid with color blitting.
ASSERT(!params.linear); ASSERT(!params.linear);
...@@ -1651,6 +1693,12 @@ angle::Result UtilsVk::stencilBlitResolveNoShaderExport(ContextVk *contextVk, ...@@ -1651,6 +1693,12 @@ angle::Result UtilsVk::stencilBlitResolveNoShaderExport(ContextVk *contextVk,
region.imageExtent.width = params.blitArea.width; region.imageExtent.width = params.blitArea.width;
region.imageExtent.height = params.blitArea.height; region.imageExtent.height = params.blitArea.height;
region.imageExtent.depth = 1; region.imageExtent.depth = 1;
if ((params.rotation == SurfaceRotation::Rotated270Degrees) && (params.blitArea.width > 32))
{
// TODO(ianelliott): Figure out why this adjustment is needed
// https://issuetracker.google.com/issues/159995959
region.imageOffset.x += 2;
}
commandBuffer->copyBufferToImage(blitBuffer.get().getBuffer().getHandle(), commandBuffer->copyBufferToImage(blitBuffer.get().getBuffer().getHandle(),
depthStencilImage->getImage(), depthStencilImage->getImage(),
......
...@@ -365,6 +365,7 @@ class UtilsVk : angle::NonCopyable ...@@ -365,6 +365,7 @@ class UtilsVk : angle::NonCopyable
int32_t destPitch = 0; int32_t destPitch = 0;
uint32_t flipX = 0; uint32_t flipX = 0;
uint32_t flipY = 0; uint32_t flipY = 0;
uint32_t rotateXY = 0;
}; };
struct OverlayDrawShaderParams struct OverlayDrawShaderParams
......
// 10.15.3802 // 10.15.3802
#pragma once #pragma once
const uint32_t kBlitResolveStencilNoExport_comp_00000000[] = { const uint32_t kBlitResolveStencilNoExport_comp_00000000[] = {
0x07230203,0x00010000,0x0008000a,0x000000cb,0x00000000,0x00020011,0x00000001,0x0006000b, 0x07230203,0x00010000,0x0008000a,0x000000d4,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0006000f,0x00000005,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00060010,0x00000004, 0x0006000f,0x00000005,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00060010,0x00000004,
0x00000011,0x00000008,0x00000008,0x00000001,0x00040047,0x0000000d,0x0000000b,0x0000001c, 0x00000011,0x00000008,0x00000008,0x00000001,0x00040047,0x0000000d,0x0000000b,0x0000001c,
...@@ -10,97 +10,103 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000000[] = { ...@@ -10,97 +10,103 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000000[] = {
0x0000001d,0x00000003,0x00000023,0x00000018,0x00050048,0x0000001d,0x00000004,0x00000023, 0x0000001d,0x00000003,0x00000023,0x00000018,0x00050048,0x0000001d,0x00000004,0x00000023,
0x0000001c,0x00050048,0x0000001d,0x00000005,0x00000023,0x00000020,0x00050048,0x0000001d, 0x0000001c,0x00050048,0x0000001d,0x00000005,0x00000023,0x00000020,0x00050048,0x0000001d,
0x00000006,0x00000023,0x00000030,0x00050048,0x0000001d,0x00000007,0x00000023,0x00000034, 0x00000006,0x00000023,0x00000030,0x00050048,0x0000001d,0x00000007,0x00000023,0x00000034,
0x00050048,0x0000001d,0x00000008,0x00000023,0x00000038,0x00030047,0x0000001d,0x00000002, 0x00050048,0x0000001d,0x00000008,0x00000023,0x00000038,0x00050048,0x0000001d,0x00000009,
0x00040047,0x0000007c,0x00000022,0x00000000,0x00040047,0x0000007c,0x00000021,0x00000001, 0x00000023,0x0000003c,0x00030047,0x0000001d,0x00000002,0x00040047,0x00000084,0x00000022,
0x00040047,0x00000080,0x00000022,0x00000000,0x00040047,0x00000080,0x00000021,0x00000002, 0x00000000,0x00040047,0x00000084,0x00000021,0x00000001,0x00040047,0x00000088,0x00000022,
0x00040047,0x0000009c,0x00000006,0x00000004,0x00050048,0x0000009d,0x00000000,0x00000023, 0x00000000,0x00040047,0x00000088,0x00000021,0x00000002,0x00040047,0x000000a4,0x00000006,
0x00000000,0x00030047,0x0000009d,0x00000003,0x00040047,0x0000009f,0x00000022,0x00000000, 0x00000004,0x00050048,0x000000a5,0x00000000,0x00000023,0x00000000,0x00030047,0x000000a5,
0x00040047,0x0000009f,0x00000021,0x00000000,0x00040047,0x000000ae,0x0000000b,0x00000019, 0x00000003,0x00040047,0x000000a7,0x00000022,0x00000000,0x00040047,0x000000a7,0x00000021,
0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,0x00000020, 0x00000000,0x00040047,0x000000b6,0x0000000b,0x00000019,0x00020013,0x00000002,0x00030021,
0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040015,0x0000000a,0x00000020, 0x00000003,0x00000002,0x00040015,0x00000006,0x00000020,0x00000001,0x00040017,0x00000007,
0x00000000,0x00040017,0x0000000b,0x0000000a,0x00000003,0x00040020,0x0000000c,0x00000001, 0x00000006,0x00000002,0x00040015,0x0000000a,0x00000020,0x00000000,0x00040017,0x0000000b,
0x0000000b,0x0004003b,0x0000000c,0x0000000d,0x00000001,0x0004002b,0x0000000a,0x0000000e, 0x0000000a,0x00000003,0x00040020,0x0000000c,0x00000001,0x0000000b,0x0004003b,0x0000000c,
0x00000000,0x00040020,0x0000000f,0x00000001,0x0000000a,0x0004002b,0x0000000a,0x00000012, 0x0000000d,0x00000001,0x0004002b,0x0000000a,0x0000000e,0x00000000,0x00040020,0x0000000f,
0x00000004,0x0004002b,0x0000000a,0x00000015,0x00000001,0x00030016,0x0000001a,0x00000020, 0x00000001,0x0000000a,0x0004002b,0x0000000a,0x00000012,0x00000004,0x0004002b,0x0000000a,
0x00040017,0x0000001b,0x0000001a,0x00000002,0x00040017,0x0000001c,0x00000006,0x00000004, 0x00000015,0x00000001,0x00030016,0x0000001a,0x00000020,0x00040017,0x0000001b,0x0000001a,
0x000b001e,0x0000001d,0x0000001b,0x0000001b,0x0000001b,0x00000006,0x00000006,0x0000001c, 0x00000002,0x00040017,0x0000001c,0x00000006,0x00000004,0x000c001e,0x0000001d,0x0000001b,
0x00000006,0x0000000a,0x0000000a,0x00040020,0x0000001e,0x00000009,0x0000001d,0x0004003b, 0x0000001b,0x0000001b,0x00000006,0x00000006,0x0000001c,0x00000006,0x0000000a,0x0000000a,
0x0000001e,0x0000001f,0x00000009,0x0004002b,0x00000006,0x00000020,0x00000005,0x00040020, 0x0000000a,0x00040020,0x0000001e,0x00000009,0x0000001d,0x0004003b,0x0000001e,0x0000001f,
0x00000021,0x00000009,0x0000001c,0x00020014,0x00000026,0x00040017,0x00000027,0x00000026, 0x00000009,0x0004002b,0x00000006,0x00000020,0x00000005,0x00040020,0x00000021,0x00000009,
0x00000002,0x0004002b,0x00000006,0x00000036,0x00000001,0x00040020,0x00000037,0x00000009, 0x0000001c,0x00020014,0x00000026,0x00040017,0x00000027,0x00000026,0x00000002,0x0004002b,
0x0000001b,0x0004002b,0x00000006,0x0000003c,0x00000000,0x0004002b,0x00000006,0x00000041, 0x00000006,0x00000036,0x00000001,0x00040020,0x00000037,0x00000009,0x0000001b,0x0004002b,
0x00000007,0x00040020,0x00000042,0x00000009,0x0000000a,0x0004002b,0x00000006,0x0000004d, 0x00000006,0x0000003c,0x00000000,0x0004002b,0x00000006,0x00000041,0x00000007,0x00040020,
0x00000008,0x0004002b,0x00000006,0x0000005c,0xffffffff,0x0004002b,0x00000006,0x00000067, 0x00000042,0x00000009,0x0000000a,0x0004002b,0x00000006,0x0000004d,0x00000008,0x0004002b,
0x00000004,0x0004002b,0x0000001a,0x0000006b,0x00000000,0x00040020,0x00000071,0x00000009, 0x00000006,0x00000057,0x00000009,0x0004002b,0x00000006,0x00000064,0xffffffff,0x0004002b,
0x00000006,0x00090019,0x0000007a,0x0000000a,0x00000001,0x00000000,0x00000000,0x00000000, 0x00000006,0x0000006f,0x00000004,0x0004002b,0x0000001a,0x00000073,0x00000000,0x00040020,
0x00000001,0x00000000,0x00040020,0x0000007b,0x00000000,0x0000007a,0x0004003b,0x0000007b, 0x00000079,0x00000009,0x00000006,0x00090019,0x00000082,0x0000000a,0x00000001,0x00000000,
0x0000007c,0x00000000,0x0002001a,0x0000007e,0x00040020,0x0000007f,0x00000000,0x0000007e, 0x00000000,0x00000000,0x00000001,0x00000000,0x00040020,0x00000083,0x00000000,0x00000082,
0x0004003b,0x0000007f,0x00000080,0x00000000,0x0003001b,0x00000082,0x0000007a,0x0004002b, 0x0004003b,0x00000083,0x00000084,0x00000000,0x0002001a,0x00000086,0x00040020,0x00000087,
0x00000006,0x00000085,0x00000002,0x00040017,0x00000089,0x0000000a,0x00000004,0x0004002b, 0x00000000,0x00000086,0x0004003b,0x00000087,0x00000088,0x00000000,0x0003001b,0x0000008a,
0x0000000a,0x0000008d,0x000000ff,0x0003001d,0x0000009c,0x0000000a,0x0003001e,0x0000009d, 0x00000082,0x0004002b,0x00000006,0x0000008d,0x00000002,0x00040017,0x00000091,0x0000000a,
0x0000009c,0x00040020,0x0000009e,0x00000002,0x0000009d,0x0004003b,0x0000009e,0x0000009f, 0x00000004,0x0004002b,0x0000000a,0x00000095,0x000000ff,0x0003001d,0x000000a4,0x0000000a,
0x00000002,0x0004002b,0x00000006,0x000000a2,0x00000006,0x00040020,0x000000ab,0x00000002, 0x0003001e,0x000000a5,0x000000a4,0x00040020,0x000000a6,0x00000002,0x000000a5,0x0004003b,
0x0000000a,0x0004002b,0x0000000a,0x000000ad,0x00000008,0x0006002c,0x0000000b,0x000000ae, 0x000000a6,0x000000a7,0x00000002,0x0004002b,0x00000006,0x000000aa,0x00000006,0x00040020,
0x000000ad,0x000000ad,0x00000015,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003, 0x000000b3,0x00000002,0x0000000a,0x0004002b,0x0000000a,0x000000b5,0x00000008,0x0006002c,
0x000200f8,0x00000005,0x000300f7,0x000000af,0x00000000,0x000300fb,0x0000000e,0x000000b0, 0x0000000b,0x000000b6,0x000000b5,0x000000b5,0x00000015,0x00050036,0x00000002,0x00000004,
0x000200f8,0x000000b0,0x00050041,0x0000000f,0x00000010,0x0000000d,0x0000000e,0x0004003d, 0x00000000,0x00000003,0x000200f8,0x00000005,0x000300f7,0x000000b7,0x00000000,0x000300fb,
0x0000000a,0x00000011,0x00000010,0x00050084,0x0000000a,0x00000013,0x00000011,0x00000012, 0x0000000e,0x000000b8,0x000200f8,0x000000b8,0x00050041,0x0000000f,0x00000010,0x0000000d,
0x0004007c,0x00000006,0x00000014,0x00000013,0x00050041,0x0000000f,0x00000016,0x0000000d, 0x0000000e,0x0004003d,0x0000000a,0x00000011,0x00000010,0x00050084,0x0000000a,0x00000013,
0x00000015,0x0004003d,0x0000000a,0x00000017,0x00000016,0x0004007c,0x00000006,0x00000018, 0x00000011,0x00000012,0x0004007c,0x00000006,0x00000014,0x00000013,0x00050041,0x0000000f,
0x00000017,0x00050050,0x00000007,0x00000019,0x00000014,0x00000018,0x00050041,0x00000021, 0x00000016,0x0000000d,0x00000015,0x0004003d,0x0000000a,0x00000017,0x00000016,0x0004007c,
0x00000022,0x0000001f,0x00000020,0x0004003d,0x0000001c,0x00000023,0x00000022,0x0007004f, 0x00000006,0x00000018,0x00000017,0x00050050,0x00000007,0x00000019,0x00000014,0x00000018,
0x00000007,0x00000024,0x00000023,0x00000023,0x00000002,0x00000003,0x000500b3,0x00000027, 0x00050041,0x00000021,0x00000022,0x0000001f,0x00000020,0x0004003d,0x0000001c,0x00000023,
0x00000028,0x00000024,0x00000019,0x0004009a,0x00000026,0x00000029,0x00000028,0x000300f7, 0x00000022,0x0007004f,0x00000007,0x00000024,0x00000023,0x00000023,0x00000002,0x00000003,
0x0000002b,0x00000000,0x000400fa,0x00000029,0x0000002a,0x0000002b,0x000200f8,0x0000002a, 0x000500b3,0x00000027,0x00000028,0x00000024,0x00000019,0x0004009a,0x00000026,0x00000029,
0x000200f9,0x000000af,0x000200f8,0x0000002b,0x0007004f,0x00000007,0x0000002f,0x00000023, 0x00000028,0x000300f7,0x0000002b,0x00000000,0x000400fa,0x00000029,0x0000002a,0x0000002b,
0x00000023,0x00000000,0x00000001,0x00050080,0x00000007,0x00000031,0x00000019,0x0000002f, 0x000200f8,0x0000002a,0x000200f9,0x000000b7,0x000200f8,0x0000002b,0x0007004f,0x00000007,
0x0004006f,0x0000001b,0x00000035,0x00000031,0x00050041,0x00000037,0x00000038,0x0000001f, 0x0000002f,0x00000023,0x00000023,0x00000000,0x00000001,0x00050080,0x00000007,0x00000031,
0x00000036,0x0004003d,0x0000001b,0x00000039,0x00000038,0x00050085,0x0000001b,0x0000003b, 0x00000019,0x0000002f,0x0004006f,0x0000001b,0x00000035,0x00000031,0x00050041,0x00000037,
0x00000035,0x00000039,0x00050041,0x00000037,0x0000003d,0x0000001f,0x0000003c,0x0004003d, 0x00000038,0x0000001f,0x00000036,0x0004003d,0x0000001b,0x00000039,0x00000038,0x00050085,
0x0000001b,0x0000003e,0x0000003d,0x00050083,0x0000001b,0x00000040,0x0000003b,0x0000003e, 0x0000001b,0x0000003b,0x00000035,0x00000039,0x00050041,0x00000037,0x0000003d,0x0000001f,
0x00050041,0x00000042,0x00000043,0x0000001f,0x00000041,0x0004003d,0x0000000a,0x00000044, 0x0000003c,0x0004003d,0x0000001b,0x0000003e,0x0000003d,0x00050083,0x0000001b,0x00000040,
0x00000043,0x000500ab,0x00000026,0x00000045,0x00000044,0x0000000e,0x000300f7,0x00000047, 0x0000003b,0x0000003e,0x00050041,0x00000042,0x00000043,0x0000001f,0x00000041,0x0004003d,
0x00000000,0x000400fa,0x00000045,0x00000046,0x00000047,0x000200f8,0x00000046,0x00050051, 0x0000000a,0x00000044,0x00000043,0x000500ab,0x00000026,0x00000045,0x00000044,0x0000000e,
0x0000001a,0x0000004a,0x00000040,0x00000000,0x0004007f,0x0000001a,0x0000004b,0x0000004a, 0x000300f7,0x00000047,0x00000000,0x000400fa,0x00000045,0x00000046,0x00000047,0x000200f8,
0x00060052,0x0000001b,0x000000b7,0x0000004b,0x00000040,0x00000000,0x000200f9,0x00000047, 0x00000046,0x00050051,0x0000001a,0x0000004a,0x00000040,0x00000000,0x0004007f,0x0000001a,
0x000200f8,0x00000047,0x000700f5,0x0000001b,0x000000c0,0x00000040,0x0000002b,0x000000b7, 0x0000004b,0x0000004a,0x00060052,0x0000001b,0x000000bf,0x0000004b,0x00000040,0x00000000,
0x00000046,0x00050041,0x00000042,0x0000004e,0x0000001f,0x0000004d,0x0004003d,0x0000000a, 0x000200f9,0x00000047,0x000200f8,0x00000047,0x000700f5,0x0000001b,0x000000c8,0x00000040,
0x0000004f,0x0000004e,0x000500ab,0x00000026,0x00000050,0x0000004f,0x0000000e,0x000300f7, 0x0000002b,0x000000bf,0x00000046,0x00050041,0x00000042,0x0000004e,0x0000001f,0x0000004d,
0x00000052,0x00000000,0x000400fa,0x00000050,0x00000051,0x00000052,0x000200f8,0x00000051, 0x0004003d,0x0000000a,0x0000004f,0x0000004e,0x000500ab,0x00000026,0x00000050,0x0000004f,
0x00050051,0x0000001a,0x00000054,0x000000c0,0x00000001,0x0004007f,0x0000001a,0x00000055, 0x0000000e,0x000300f7,0x00000052,0x00000000,0x000400fa,0x00000050,0x00000051,0x00000052,
0x00000054,0x00060052,0x0000001b,0x000000ba,0x00000055,0x000000c0,0x00000001,0x000200f9, 0x000200f8,0x00000051,0x00050051,0x0000001a,0x00000054,0x000000c8,0x00000001,0x0004007f,
0x00000052,0x000200f8,0x00000052,0x000700f5,0x0000001b,0x000000c4,0x000000c0,0x00000047, 0x0000001a,0x00000055,0x00000054,0x00060052,0x0000001b,0x000000c2,0x00000055,0x000000c8,
0x000000ba,0x00000051,0x000600a9,0x00000006,0x0000005d,0x00000045,0x0000005c,0x00000036, 0x00000001,0x000200f9,0x00000052,0x000200f8,0x00000052,0x000700f5,0x0000001b,0x000000c9,
0x000200f9,0x00000061,0x000200f8,0x00000061,0x000700f5,0x0000001b,0x000000c3,0x000000c4, 0x000000c8,0x00000047,0x000000c2,0x00000051,0x00050041,0x00000042,0x00000058,0x0000001f,
0x00000052,0x000000bf,0x00000064,0x000700f5,0x0000000a,0x000000c2,0x0000000e,0x00000052, 0x00000057,0x0004003d,0x0000000a,0x00000059,0x00000058,0x000500ab,0x00000026,0x0000005a,
0x000000ca,0x00000064,0x000700f5,0x00000006,0x000000c1,0x0000003c,0x00000052,0x0000009b, 0x00000059,0x0000000e,0x000300f7,0x0000005c,0x00000000,0x000400fa,0x0000005a,0x0000005b,
0x00000064,0x000500b1,0x00000026,0x00000068,0x000000c1,0x00000067,0x000400f6,0x00000063, 0x0000005c,0x000200f8,0x0000005b,0x0007004f,0x0000001b,0x0000005e,0x000000c9,0x000000c9,
0x00000064,0x00000000,0x000400fa,0x00000068,0x00000062,0x00000063,0x000200f8,0x00000062, 0x00000001,0x00000000,0x000200f9,0x0000005c,0x000200f8,0x0000005c,0x000700f5,0x0000001b,
0x00050051,0x0000001a,0x0000006a,0x000000c3,0x00000000,0x000500be,0x00000026,0x0000006c, 0x000000cd,0x000000c9,0x00000052,0x0000005e,0x0000005b,0x000600a9,0x00000006,0x00000065,
0x0000006a,0x0000006b,0x000300f7,0x0000006e,0x00000000,0x000400fa,0x0000006c,0x0000006d, 0x00000045,0x00000064,0x00000036,0x000200f9,0x00000069,0x000200f8,0x00000069,0x000700f5,
0x0000006e,0x000200f8,0x0000006d,0x00050041,0x00000071,0x00000072,0x0000001f,0x00000067, 0x0000001b,0x000000cc,0x000000cd,0x0000005c,0x000000c7,0x0000006c,0x000700f5,0x0000000a,
0x0004003d,0x00000006,0x00000073,0x00000072,0x0004006f,0x0000001a,0x00000074,0x00000073, 0x000000cb,0x0000000e,0x0000005c,0x000000d3,0x0000006c,0x000700f5,0x00000006,0x000000ca,
0x000500b8,0x00000026,0x00000075,0x0000006a,0x00000074,0x000200f9,0x0000006e,0x000200f8, 0x0000003c,0x0000005c,0x000000a3,0x0000006c,0x000500b1,0x00000026,0x00000070,0x000000ca,
0x0000006e,0x000700f5,0x00000026,0x00000076,0x0000006c,0x00000062,0x00000075,0x0000006d, 0x0000006f,0x000400f6,0x0000006b,0x0000006c,0x00000000,0x000400fa,0x00000070,0x0000006a,
0x000300f7,0x00000078,0x00000000,0x000400fa,0x00000076,0x00000077,0x00000078,0x000200f8, 0x0000006b,0x000200f8,0x0000006a,0x00050051,0x0000001a,0x00000072,0x000000cc,0x00000000,
0x00000077,0x0004003d,0x0000007a,0x0000007d,0x0000007c,0x0004003d,0x0000007e,0x00000081, 0x000500be,0x00000026,0x00000074,0x00000072,0x00000073,0x000300f7,0x00000076,0x00000000,
0x00000080,0x00050056,0x00000082,0x00000083,0x0000007d,0x00000081,0x00050041,0x00000037, 0x000400fa,0x00000074,0x00000075,0x00000076,0x000200f8,0x00000075,0x00050041,0x00000079,
0x00000086,0x0000001f,0x00000085,0x0004003d,0x0000001b,0x00000087,0x00000086,0x00050085, 0x0000007a,0x0000001f,0x0000006f,0x0004003d,0x00000006,0x0000007b,0x0000007a,0x0004006f,
0x0000001b,0x00000088,0x000000c3,0x00000087,0x00070058,0x00000089,0x0000008a,0x00000083, 0x0000001a,0x0000007c,0x0000007b,0x000500b8,0x00000026,0x0000007d,0x00000072,0x0000007c,
0x00000088,0x00000002,0x0000006b,0x00050051,0x0000000a,0x0000008b,0x0000008a,0x00000000, 0x000200f9,0x00000076,0x000200f8,0x00000076,0x000700f5,0x00000026,0x0000007e,0x00000074,
0x000500c7,0x0000000a,0x0000008e,0x0000008b,0x0000008d,0x00050084,0x00000006,0x00000090, 0x0000006a,0x0000007d,0x00000075,0x000300f7,0x00000080,0x00000000,0x000400fa,0x0000007e,
0x000000c1,0x0000004d,0x000500c4,0x0000000a,0x00000091,0x0000008e,0x00000090,0x000500c5, 0x0000007f,0x00000080,0x000200f8,0x0000007f,0x0004003d,0x00000082,0x00000085,0x00000084,
0x0000000a,0x00000093,0x000000c2,0x00000091,0x000200f9,0x00000078,0x000200f8,0x00000078, 0x0004003d,0x00000086,0x00000089,0x00000088,0x00050056,0x0000008a,0x0000008b,0x00000085,
0x000700f5,0x0000000a,0x000000ca,0x000000c2,0x0000006e,0x00000093,0x00000077,0x0004006f, 0x00000089,0x00050041,0x00000037,0x0000008e,0x0000001f,0x0000008d,0x0004003d,0x0000001b,
0x0000001a,0x00000095,0x0000005d,0x00050081,0x0000001a,0x00000098,0x0000006a,0x00000095, 0x0000008f,0x0000008e,0x00050085,0x0000001b,0x00000090,0x000000cc,0x0000008f,0x00070058,
0x00060052,0x0000001b,0x000000bf,0x00000098,0x000000c3,0x00000000,0x000200f9,0x00000064, 0x00000091,0x00000092,0x0000008b,0x00000090,0x00000002,0x00000073,0x00050051,0x0000000a,
0x000200f8,0x00000064,0x00050080,0x00000006,0x0000009b,0x000000c1,0x00000036,0x000200f9, 0x00000093,0x00000092,0x00000000,0x000500c7,0x0000000a,0x00000096,0x00000093,0x00000095,
0x00000061,0x000200f8,0x00000063,0x00050041,0x00000071,0x000000a3,0x0000001f,0x000000a2, 0x00050084,0x00000006,0x00000098,0x000000ca,0x0000004d,0x000500c4,0x0000000a,0x00000099,
0x0004003d,0x00000006,0x000000a4,0x000000a3,0x0004007c,0x0000000a,0x000000a5,0x000000a4, 0x00000096,0x00000098,0x000500c5,0x0000000a,0x0000009b,0x000000cb,0x00000099,0x000200f9,
0x00050084,0x0000000a,0x000000a6,0x00000017,0x000000a5,0x00050080,0x0000000a,0x000000a9, 0x00000080,0x000200f8,0x00000080,0x000700f5,0x0000000a,0x000000d3,0x000000cb,0x00000076,
0x000000a6,0x00000011,0x00060041,0x000000ab,0x000000ac,0x0000009f,0x0000003c,0x000000a9, 0x0000009b,0x0000007f,0x0004006f,0x0000001a,0x0000009d,0x00000065,0x00050081,0x0000001a,
0x0003003e,0x000000ac,0x000000c2,0x000200f9,0x000000af,0x000200f8,0x000000af,0x000100fd, 0x000000a0,0x00000072,0x0000009d,0x00060052,0x0000001b,0x000000c7,0x000000a0,0x000000cc,
0x00010038 0x00000000,0x000200f9,0x0000006c,0x000200f8,0x0000006c,0x00050080,0x00000006,0x000000a3,
0x000000ca,0x00000036,0x000200f9,0x00000069,0x000200f8,0x0000006b,0x00050041,0x00000079,
0x000000ab,0x0000001f,0x000000aa,0x0004003d,0x00000006,0x000000ac,0x000000ab,0x0004007c,
0x0000000a,0x000000ad,0x000000ac,0x00050084,0x0000000a,0x000000ae,0x00000017,0x000000ad,
0x00050080,0x0000000a,0x000000b1,0x000000ae,0x00000011,0x00060041,0x000000b3,0x000000b4,
0x000000a7,0x0000003c,0x000000b1,0x0003003e,0x000000b4,0x000000cb,0x000200f9,0x000000b7,
0x000200f8,0x000000b7,0x000100fd,0x00010038
}; };
// Generated from: // Generated from:
...@@ -122,6 +128,7 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000000[] = { ...@@ -122,6 +128,7 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000000[] = {
// //
// bool flipX; // bool flipX;
// bool flipY; // bool flipY;
// bool rotateXY;
// } params; // } params;
// //
// layout(set = 0, binding = 0)buffer dest // layout(set = 0, binding = 0)buffer dest
...@@ -153,6 +160,8 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000000[] = { ...@@ -153,6 +160,8 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000000[] = {
// srcImageCoords . x = - srcImageCoords . x; // srcImageCoords . x = - srcImageCoords . x;
// if(params . flipY) // if(params . flipY)
// srcImageCoords . y = - srcImageCoords . y; // srcImageCoords . y = - srcImageCoords . y;
// if(params . rotateXY)
// srcImageCoords . xy = srcImageCoords . yx;
// //
// int xDir = params . flipX ? - 1 : 1; // int xDir = params . flipX ? - 1 : 1;
// //
......
// 10.15.3802 // 10.15.3802
#pragma once #pragma once
const uint32_t kBlitResolveStencilNoExport_comp_00000001[] = { const uint32_t kBlitResolveStencilNoExport_comp_00000001[] = {
0x07230203,0x00010000,0x0008000a,0x000000d3,0x00000000,0x00020011,0x00000001,0x0006000b, 0x07230203,0x00010000,0x0008000a,0x000000dc,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0006000f,0x00000005,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00060010,0x00000004, 0x0006000f,0x00000005,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00060010,0x00000004,
0x00000011,0x00000008,0x00000008,0x00000001,0x00040047,0x0000000d,0x0000000b,0x0000001c, 0x00000011,0x00000008,0x00000008,0x00000001,0x00040047,0x0000000d,0x0000000b,0x0000001c,
...@@ -10,101 +10,108 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000001[] = { ...@@ -10,101 +10,108 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000001[] = {
0x0000001d,0x00000003,0x00000023,0x00000018,0x00050048,0x0000001d,0x00000004,0x00000023, 0x0000001d,0x00000003,0x00000023,0x00000018,0x00050048,0x0000001d,0x00000004,0x00000023,
0x0000001c,0x00050048,0x0000001d,0x00000005,0x00000023,0x00000020,0x00050048,0x0000001d, 0x0000001c,0x00050048,0x0000001d,0x00000005,0x00000023,0x00000020,0x00050048,0x0000001d,
0x00000006,0x00000023,0x00000030,0x00050048,0x0000001d,0x00000007,0x00000023,0x00000034, 0x00000006,0x00000023,0x00000030,0x00050048,0x0000001d,0x00000007,0x00000023,0x00000034,
0x00050048,0x0000001d,0x00000008,0x00000023,0x00000038,0x00030047,0x0000001d,0x00000002, 0x00050048,0x0000001d,0x00000008,0x00000023,0x00000038,0x00050048,0x0000001d,0x00000009,
0x00040047,0x0000007c,0x00000022,0x00000000,0x00040047,0x0000007c,0x00000021,0x00000001, 0x00000023,0x0000003c,0x00030047,0x0000001d,0x00000002,0x00040047,0x00000084,0x00000022,
0x00040047,0x00000080,0x00000022,0x00000000,0x00040047,0x00000080,0x00000021,0x00000002, 0x00000000,0x00040047,0x00000084,0x00000021,0x00000001,0x00040047,0x00000088,0x00000022,
0x00040047,0x000000a4,0x00000006,0x00000004,0x00050048,0x000000a5,0x00000000,0x00000023, 0x00000000,0x00040047,0x00000088,0x00000021,0x00000002,0x00040047,0x000000ac,0x00000006,
0x00000000,0x00030047,0x000000a5,0x00000003,0x00040047,0x000000a7,0x00000022,0x00000000, 0x00000004,0x00050048,0x000000ad,0x00000000,0x00000023,0x00000000,0x00030047,0x000000ad,
0x00040047,0x000000a7,0x00000021,0x00000000,0x00040047,0x000000b6,0x0000000b,0x00000019, 0x00000003,0x00040047,0x000000af,0x00000022,0x00000000,0x00040047,0x000000af,0x00000021,
0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,0x00000020, 0x00000000,0x00040047,0x000000be,0x0000000b,0x00000019,0x00020013,0x00000002,0x00030021,
0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040015,0x0000000a,0x00000020, 0x00000003,0x00000002,0x00040015,0x00000006,0x00000020,0x00000001,0x00040017,0x00000007,
0x00000000,0x00040017,0x0000000b,0x0000000a,0x00000003,0x00040020,0x0000000c,0x00000001, 0x00000006,0x00000002,0x00040015,0x0000000a,0x00000020,0x00000000,0x00040017,0x0000000b,
0x0000000b,0x0004003b,0x0000000c,0x0000000d,0x00000001,0x0004002b,0x0000000a,0x0000000e, 0x0000000a,0x00000003,0x00040020,0x0000000c,0x00000001,0x0000000b,0x0004003b,0x0000000c,
0x00000000,0x00040020,0x0000000f,0x00000001,0x0000000a,0x0004002b,0x0000000a,0x00000012, 0x0000000d,0x00000001,0x0004002b,0x0000000a,0x0000000e,0x00000000,0x00040020,0x0000000f,
0x00000004,0x0004002b,0x0000000a,0x00000015,0x00000001,0x00030016,0x0000001a,0x00000020, 0x00000001,0x0000000a,0x0004002b,0x0000000a,0x00000012,0x00000004,0x0004002b,0x0000000a,
0x00040017,0x0000001b,0x0000001a,0x00000002,0x00040017,0x0000001c,0x00000006,0x00000004, 0x00000015,0x00000001,0x00030016,0x0000001a,0x00000020,0x00040017,0x0000001b,0x0000001a,
0x000b001e,0x0000001d,0x0000001b,0x0000001b,0x0000001b,0x00000006,0x00000006,0x0000001c, 0x00000002,0x00040017,0x0000001c,0x00000006,0x00000004,0x000c001e,0x0000001d,0x0000001b,
0x00000006,0x0000000a,0x0000000a,0x00040020,0x0000001e,0x00000009,0x0000001d,0x0004003b, 0x0000001b,0x0000001b,0x00000006,0x00000006,0x0000001c,0x00000006,0x0000000a,0x0000000a,
0x0000001e,0x0000001f,0x00000009,0x0004002b,0x00000006,0x00000020,0x00000005,0x00040020, 0x0000000a,0x00040020,0x0000001e,0x00000009,0x0000001d,0x0004003b,0x0000001e,0x0000001f,
0x00000021,0x00000009,0x0000001c,0x00020014,0x00000026,0x00040017,0x00000027,0x00000026, 0x00000009,0x0004002b,0x00000006,0x00000020,0x00000005,0x00040020,0x00000021,0x00000009,
0x00000002,0x0004002b,0x00000006,0x00000036,0x00000001,0x00040020,0x00000037,0x00000009, 0x0000001c,0x00020014,0x00000026,0x00040017,0x00000027,0x00000026,0x00000002,0x0004002b,
0x0000001b,0x0004002b,0x00000006,0x0000003c,0x00000000,0x0004002b,0x00000006,0x00000041, 0x00000006,0x00000036,0x00000001,0x00040020,0x00000037,0x00000009,0x0000001b,0x0004002b,
0x00000007,0x00040020,0x00000042,0x00000009,0x0000000a,0x0004002b,0x00000006,0x0000004d, 0x00000006,0x0000003c,0x00000000,0x0004002b,0x00000006,0x00000041,0x00000007,0x00040020,
0x00000008,0x0004002b,0x00000006,0x0000005c,0xffffffff,0x0004002b,0x00000006,0x00000067, 0x00000042,0x00000009,0x0000000a,0x0004002b,0x00000006,0x0000004d,0x00000008,0x0004002b,
0x00000004,0x0004002b,0x0000001a,0x0000006b,0x00000000,0x00040020,0x00000071,0x00000009, 0x00000006,0x00000057,0x00000009,0x0004002b,0x00000006,0x00000064,0xffffffff,0x0004002b,
0x00000006,0x00090019,0x0000007a,0x0000000a,0x00000001,0x00000000,0x00000001,0x00000000, 0x00000006,0x0000006f,0x00000004,0x0004002b,0x0000001a,0x00000073,0x00000000,0x00040020,
0x00000001,0x00000000,0x00040020,0x0000007b,0x00000000,0x0000007a,0x0004003b,0x0000007b, 0x00000079,0x00000009,0x00000006,0x00090019,0x00000082,0x0000000a,0x00000001,0x00000000,
0x0000007c,0x00000000,0x0002001a,0x0000007e,0x00040020,0x0000007f,0x00000000,0x0000007e, 0x00000001,0x00000000,0x00000001,0x00000000,0x00040020,0x00000083,0x00000000,0x00000082,
0x0004003b,0x0000007f,0x00000080,0x00000000,0x0003001b,0x00000082,0x0000007a,0x0004002b, 0x0004003b,0x00000083,0x00000084,0x00000000,0x0002001a,0x00000086,0x00040020,0x00000087,
0x00000006,0x00000085,0x00000002,0x0004002b,0x00000006,0x00000089,0x00000003,0x00040017, 0x00000000,0x00000086,0x0004003b,0x00000087,0x00000088,0x00000000,0x0003001b,0x0000008a,
0x0000008d,0x0000001a,0x00000003,0x00040017,0x00000091,0x0000000a,0x00000004,0x0004002b, 0x00000082,0x0004002b,0x00000006,0x0000008d,0x00000002,0x0004002b,0x00000006,0x00000091,
0x0000000a,0x00000095,0x000000ff,0x0003001d,0x000000a4,0x0000000a,0x0003001e,0x000000a5, 0x00000003,0x00040017,0x00000095,0x0000001a,0x00000003,0x00040017,0x00000099,0x0000000a,
0x000000a4,0x00040020,0x000000a6,0x00000002,0x000000a5,0x0004003b,0x000000a6,0x000000a7, 0x00000004,0x0004002b,0x0000000a,0x0000009d,0x000000ff,0x0003001d,0x000000ac,0x0000000a,
0x00000002,0x0004002b,0x00000006,0x000000aa,0x00000006,0x00040020,0x000000b3,0x00000002, 0x0003001e,0x000000ad,0x000000ac,0x00040020,0x000000ae,0x00000002,0x000000ad,0x0004003b,
0x0000000a,0x0004002b,0x0000000a,0x000000b5,0x00000008,0x0006002c,0x0000000b,0x000000b6, 0x000000ae,0x000000af,0x00000002,0x0004002b,0x00000006,0x000000b2,0x00000006,0x00040020,
0x000000b5,0x000000b5,0x00000015,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003, 0x000000bb,0x00000002,0x0000000a,0x0004002b,0x0000000a,0x000000bd,0x00000008,0x0006002c,
0x000200f8,0x00000005,0x000300f7,0x000000b7,0x00000000,0x000300fb,0x0000000e,0x000000b8, 0x0000000b,0x000000be,0x000000bd,0x000000bd,0x00000015,0x00050036,0x00000002,0x00000004,
0x000200f8,0x000000b8,0x00050041,0x0000000f,0x00000010,0x0000000d,0x0000000e,0x0004003d, 0x00000000,0x00000003,0x000200f8,0x00000005,0x000300f7,0x000000bf,0x00000000,0x000300fb,
0x0000000a,0x00000011,0x00000010,0x00050084,0x0000000a,0x00000013,0x00000011,0x00000012, 0x0000000e,0x000000c0,0x000200f8,0x000000c0,0x00050041,0x0000000f,0x00000010,0x0000000d,
0x0004007c,0x00000006,0x00000014,0x00000013,0x00050041,0x0000000f,0x00000016,0x0000000d, 0x0000000e,0x0004003d,0x0000000a,0x00000011,0x00000010,0x00050084,0x0000000a,0x00000013,
0x00000015,0x0004003d,0x0000000a,0x00000017,0x00000016,0x0004007c,0x00000006,0x00000018, 0x00000011,0x00000012,0x0004007c,0x00000006,0x00000014,0x00000013,0x00050041,0x0000000f,
0x00000017,0x00050050,0x00000007,0x00000019,0x00000014,0x00000018,0x00050041,0x00000021, 0x00000016,0x0000000d,0x00000015,0x0004003d,0x0000000a,0x00000017,0x00000016,0x0004007c,
0x00000022,0x0000001f,0x00000020,0x0004003d,0x0000001c,0x00000023,0x00000022,0x0007004f, 0x00000006,0x00000018,0x00000017,0x00050050,0x00000007,0x00000019,0x00000014,0x00000018,
0x00000007,0x00000024,0x00000023,0x00000023,0x00000002,0x00000003,0x000500b3,0x00000027, 0x00050041,0x00000021,0x00000022,0x0000001f,0x00000020,0x0004003d,0x0000001c,0x00000023,
0x00000028,0x00000024,0x00000019,0x0004009a,0x00000026,0x00000029,0x00000028,0x000300f7, 0x00000022,0x0007004f,0x00000007,0x00000024,0x00000023,0x00000023,0x00000002,0x00000003,
0x0000002b,0x00000000,0x000400fa,0x00000029,0x0000002a,0x0000002b,0x000200f8,0x0000002a, 0x000500b3,0x00000027,0x00000028,0x00000024,0x00000019,0x0004009a,0x00000026,0x00000029,
0x000200f9,0x000000b7,0x000200f8,0x0000002b,0x0007004f,0x00000007,0x0000002f,0x00000023, 0x00000028,0x000300f7,0x0000002b,0x00000000,0x000400fa,0x00000029,0x0000002a,0x0000002b,
0x00000023,0x00000000,0x00000001,0x00050080,0x00000007,0x00000031,0x00000019,0x0000002f, 0x000200f8,0x0000002a,0x000200f9,0x000000bf,0x000200f8,0x0000002b,0x0007004f,0x00000007,
0x0004006f,0x0000001b,0x00000035,0x00000031,0x00050041,0x00000037,0x00000038,0x0000001f, 0x0000002f,0x00000023,0x00000023,0x00000000,0x00000001,0x00050080,0x00000007,0x00000031,
0x00000036,0x0004003d,0x0000001b,0x00000039,0x00000038,0x00050085,0x0000001b,0x0000003b, 0x00000019,0x0000002f,0x0004006f,0x0000001b,0x00000035,0x00000031,0x00050041,0x00000037,
0x00000035,0x00000039,0x00050041,0x00000037,0x0000003d,0x0000001f,0x0000003c,0x0004003d, 0x00000038,0x0000001f,0x00000036,0x0004003d,0x0000001b,0x00000039,0x00000038,0x00050085,
0x0000001b,0x0000003e,0x0000003d,0x00050083,0x0000001b,0x00000040,0x0000003b,0x0000003e, 0x0000001b,0x0000003b,0x00000035,0x00000039,0x00050041,0x00000037,0x0000003d,0x0000001f,
0x00050041,0x00000042,0x00000043,0x0000001f,0x00000041,0x0004003d,0x0000000a,0x00000044, 0x0000003c,0x0004003d,0x0000001b,0x0000003e,0x0000003d,0x00050083,0x0000001b,0x00000040,
0x00000043,0x000500ab,0x00000026,0x00000045,0x00000044,0x0000000e,0x000300f7,0x00000047, 0x0000003b,0x0000003e,0x00050041,0x00000042,0x00000043,0x0000001f,0x00000041,0x0004003d,
0x00000000,0x000400fa,0x00000045,0x00000046,0x00000047,0x000200f8,0x00000046,0x00050051, 0x0000000a,0x00000044,0x00000043,0x000500ab,0x00000026,0x00000045,0x00000044,0x0000000e,
0x0000001a,0x0000004a,0x00000040,0x00000000,0x0004007f,0x0000001a,0x0000004b,0x0000004a, 0x000300f7,0x00000047,0x00000000,0x000400fa,0x00000045,0x00000046,0x00000047,0x000200f8,
0x00060052,0x0000001b,0x000000bf,0x0000004b,0x00000040,0x00000000,0x000200f9,0x00000047, 0x00000046,0x00050051,0x0000001a,0x0000004a,0x00000040,0x00000000,0x0004007f,0x0000001a,
0x000200f8,0x00000047,0x000700f5,0x0000001b,0x000000c8,0x00000040,0x0000002b,0x000000bf, 0x0000004b,0x0000004a,0x00060052,0x0000001b,0x000000c7,0x0000004b,0x00000040,0x00000000,
0x00000046,0x00050041,0x00000042,0x0000004e,0x0000001f,0x0000004d,0x0004003d,0x0000000a, 0x000200f9,0x00000047,0x000200f8,0x00000047,0x000700f5,0x0000001b,0x000000d0,0x00000040,
0x0000004f,0x0000004e,0x000500ab,0x00000026,0x00000050,0x0000004f,0x0000000e,0x000300f7, 0x0000002b,0x000000c7,0x00000046,0x00050041,0x00000042,0x0000004e,0x0000001f,0x0000004d,
0x00000052,0x00000000,0x000400fa,0x00000050,0x00000051,0x00000052,0x000200f8,0x00000051, 0x0004003d,0x0000000a,0x0000004f,0x0000004e,0x000500ab,0x00000026,0x00000050,0x0000004f,
0x00050051,0x0000001a,0x00000054,0x000000c8,0x00000001,0x0004007f,0x0000001a,0x00000055, 0x0000000e,0x000300f7,0x00000052,0x00000000,0x000400fa,0x00000050,0x00000051,0x00000052,
0x00000054,0x00060052,0x0000001b,0x000000c2,0x00000055,0x000000c8,0x00000001,0x000200f9, 0x000200f8,0x00000051,0x00050051,0x0000001a,0x00000054,0x000000d0,0x00000001,0x0004007f,
0x00000052,0x000200f8,0x00000052,0x000700f5,0x0000001b,0x000000cc,0x000000c8,0x00000047, 0x0000001a,0x00000055,0x00000054,0x00060052,0x0000001b,0x000000ca,0x00000055,0x000000d0,
0x000000c2,0x00000051,0x000600a9,0x00000006,0x0000005d,0x00000045,0x0000005c,0x00000036, 0x00000001,0x000200f9,0x00000052,0x000200f8,0x00000052,0x000700f5,0x0000001b,0x000000d1,
0x000200f9,0x00000061,0x000200f8,0x00000061,0x000700f5,0x0000001b,0x000000cb,0x000000cc, 0x000000d0,0x00000047,0x000000ca,0x00000051,0x00050041,0x00000042,0x00000058,0x0000001f,
0x00000052,0x000000c7,0x00000064,0x000700f5,0x0000000a,0x000000ca,0x0000000e,0x00000052, 0x00000057,0x0004003d,0x0000000a,0x00000059,0x00000058,0x000500ab,0x00000026,0x0000005a,
0x000000d2,0x00000064,0x000700f5,0x00000006,0x000000c9,0x0000003c,0x00000052,0x000000a3, 0x00000059,0x0000000e,0x000300f7,0x0000005c,0x00000000,0x000400fa,0x0000005a,0x0000005b,
0x00000064,0x000500b1,0x00000026,0x00000068,0x000000c9,0x00000067,0x000400f6,0x00000063, 0x0000005c,0x000200f8,0x0000005b,0x0007004f,0x0000001b,0x0000005e,0x000000d1,0x000000d1,
0x00000064,0x00000000,0x000400fa,0x00000068,0x00000062,0x00000063,0x000200f8,0x00000062, 0x00000001,0x00000000,0x000200f9,0x0000005c,0x000200f8,0x0000005c,0x000700f5,0x0000001b,
0x00050051,0x0000001a,0x0000006a,0x000000cb,0x00000000,0x000500be,0x00000026,0x0000006c, 0x000000d5,0x000000d1,0x00000052,0x0000005e,0x0000005b,0x000600a9,0x00000006,0x00000065,
0x0000006a,0x0000006b,0x000300f7,0x0000006e,0x00000000,0x000400fa,0x0000006c,0x0000006d, 0x00000045,0x00000064,0x00000036,0x000200f9,0x00000069,0x000200f8,0x00000069,0x000700f5,
0x0000006e,0x000200f8,0x0000006d,0x00050041,0x00000071,0x00000072,0x0000001f,0x00000067, 0x0000001b,0x000000d4,0x000000d5,0x0000005c,0x000000cf,0x0000006c,0x000700f5,0x0000000a,
0x0004003d,0x00000006,0x00000073,0x00000072,0x0004006f,0x0000001a,0x00000074,0x00000073, 0x000000d3,0x0000000e,0x0000005c,0x000000db,0x0000006c,0x000700f5,0x00000006,0x000000d2,
0x000500b8,0x00000026,0x00000075,0x0000006a,0x00000074,0x000200f9,0x0000006e,0x000200f8, 0x0000003c,0x0000005c,0x000000ab,0x0000006c,0x000500b1,0x00000026,0x00000070,0x000000d2,
0x0000006e,0x000700f5,0x00000026,0x00000076,0x0000006c,0x00000062,0x00000075,0x0000006d, 0x0000006f,0x000400f6,0x0000006b,0x0000006c,0x00000000,0x000400fa,0x00000070,0x0000006a,
0x000300f7,0x00000078,0x00000000,0x000400fa,0x00000076,0x00000077,0x00000078,0x000200f8, 0x0000006b,0x000200f8,0x0000006a,0x00050051,0x0000001a,0x00000072,0x000000d4,0x00000000,
0x00000077,0x0004003d,0x0000007a,0x0000007d,0x0000007c,0x0004003d,0x0000007e,0x00000081, 0x000500be,0x00000026,0x00000074,0x00000072,0x00000073,0x000300f7,0x00000076,0x00000000,
0x00000080,0x00050056,0x00000082,0x00000083,0x0000007d,0x00000081,0x00050041,0x00000037, 0x000400fa,0x00000074,0x00000075,0x00000076,0x000200f8,0x00000075,0x00050041,0x00000079,
0x00000086,0x0000001f,0x00000085,0x0004003d,0x0000001b,0x00000087,0x00000086,0x00050085, 0x0000007a,0x0000001f,0x0000006f,0x0004003d,0x00000006,0x0000007b,0x0000007a,0x0004006f,
0x0000001b,0x00000088,0x000000cb,0x00000087,0x00050041,0x00000071,0x0000008a,0x0000001f, 0x0000001a,0x0000007c,0x0000007b,0x000500b8,0x00000026,0x0000007d,0x00000072,0x0000007c,
0x00000089,0x0004003d,0x00000006,0x0000008b,0x0000008a,0x0004006f,0x0000001a,0x0000008c, 0x000200f9,0x00000076,0x000200f8,0x00000076,0x000700f5,0x00000026,0x0000007e,0x00000074,
0x0000008b,0x00050051,0x0000001a,0x0000008e,0x00000088,0x00000000,0x00050051,0x0000001a, 0x0000006a,0x0000007d,0x00000075,0x000300f7,0x00000080,0x00000000,0x000400fa,0x0000007e,
0x0000008f,0x00000088,0x00000001,0x00060050,0x0000008d,0x00000090,0x0000008e,0x0000008f, 0x0000007f,0x00000080,0x000200f8,0x0000007f,0x0004003d,0x00000082,0x00000085,0x00000084,
0x0000008c,0x00070058,0x00000091,0x00000092,0x00000083,0x00000090,0x00000002,0x0000006b, 0x0004003d,0x00000086,0x00000089,0x00000088,0x00050056,0x0000008a,0x0000008b,0x00000085,
0x00050051,0x0000000a,0x00000093,0x00000092,0x00000000,0x000500c7,0x0000000a,0x00000096, 0x00000089,0x00050041,0x00000037,0x0000008e,0x0000001f,0x0000008d,0x0004003d,0x0000001b,
0x00000093,0x00000095,0x00050084,0x00000006,0x00000098,0x000000c9,0x0000004d,0x000500c4, 0x0000008f,0x0000008e,0x00050085,0x0000001b,0x00000090,0x000000d4,0x0000008f,0x00050041,
0x0000000a,0x00000099,0x00000096,0x00000098,0x000500c5,0x0000000a,0x0000009b,0x000000ca, 0x00000079,0x00000092,0x0000001f,0x00000091,0x0004003d,0x00000006,0x00000093,0x00000092,
0x00000099,0x000200f9,0x00000078,0x000200f8,0x00000078,0x000700f5,0x0000000a,0x000000d2, 0x0004006f,0x0000001a,0x00000094,0x00000093,0x00050051,0x0000001a,0x00000096,0x00000090,
0x000000ca,0x0000006e,0x0000009b,0x00000077,0x0004006f,0x0000001a,0x0000009d,0x0000005d, 0x00000000,0x00050051,0x0000001a,0x00000097,0x00000090,0x00000001,0x00060050,0x00000095,
0x00050081,0x0000001a,0x000000a0,0x0000006a,0x0000009d,0x00060052,0x0000001b,0x000000c7, 0x00000098,0x00000096,0x00000097,0x00000094,0x00070058,0x00000099,0x0000009a,0x0000008b,
0x000000a0,0x000000cb,0x00000000,0x000200f9,0x00000064,0x000200f8,0x00000064,0x00050080, 0x00000098,0x00000002,0x00000073,0x00050051,0x0000000a,0x0000009b,0x0000009a,0x00000000,
0x00000006,0x000000a3,0x000000c9,0x00000036,0x000200f9,0x00000061,0x000200f8,0x00000063, 0x000500c7,0x0000000a,0x0000009e,0x0000009b,0x0000009d,0x00050084,0x00000006,0x000000a0,
0x00050041,0x00000071,0x000000ab,0x0000001f,0x000000aa,0x0004003d,0x00000006,0x000000ac, 0x000000d2,0x0000004d,0x000500c4,0x0000000a,0x000000a1,0x0000009e,0x000000a0,0x000500c5,
0x000000ab,0x0004007c,0x0000000a,0x000000ad,0x000000ac,0x00050084,0x0000000a,0x000000ae, 0x0000000a,0x000000a3,0x000000d3,0x000000a1,0x000200f9,0x00000080,0x000200f8,0x00000080,
0x00000017,0x000000ad,0x00050080,0x0000000a,0x000000b1,0x000000ae,0x00000011,0x00060041, 0x000700f5,0x0000000a,0x000000db,0x000000d3,0x00000076,0x000000a3,0x0000007f,0x0004006f,
0x000000b3,0x000000b4,0x000000a7,0x0000003c,0x000000b1,0x0003003e,0x000000b4,0x000000ca, 0x0000001a,0x000000a5,0x00000065,0x00050081,0x0000001a,0x000000a8,0x00000072,0x000000a5,
0x000200f9,0x000000b7,0x000200f8,0x000000b7,0x000100fd,0x00010038 0x00060052,0x0000001b,0x000000cf,0x000000a8,0x000000d4,0x00000000,0x000200f9,0x0000006c,
0x000200f8,0x0000006c,0x00050080,0x00000006,0x000000ab,0x000000d2,0x00000036,0x000200f9,
0x00000069,0x000200f8,0x0000006b,0x00050041,0x00000079,0x000000b3,0x0000001f,0x000000b2,
0x0004003d,0x00000006,0x000000b4,0x000000b3,0x0004007c,0x0000000a,0x000000b5,0x000000b4,
0x00050084,0x0000000a,0x000000b6,0x00000017,0x000000b5,0x00050080,0x0000000a,0x000000b9,
0x000000b6,0x00000011,0x00060041,0x000000bb,0x000000bc,0x000000af,0x0000003c,0x000000b9,
0x0003003e,0x000000bc,0x000000d3,0x000200f9,0x000000bf,0x000200f8,0x000000bf,0x000100fd,
0x00010038
}; };
// Generated from: // Generated from:
...@@ -126,6 +133,7 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000001[] = { ...@@ -126,6 +133,7 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000001[] = {
// //
// bool flipX; // bool flipX;
// bool flipY; // bool flipY;
// bool rotateXY;
// } params; // } params;
// //
// layout(set = 0, binding = 0)buffer dest // layout(set = 0, binding = 0)buffer dest
...@@ -157,6 +165,8 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000001[] = { ...@@ -157,6 +165,8 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000001[] = {
// srcImageCoords . x = - srcImageCoords . x; // srcImageCoords . x = - srcImageCoords . x;
// if(params . flipY) // if(params . flipY)
// srcImageCoords . y = - srcImageCoords . y; // srcImageCoords . y = - srcImageCoords . y;
// if(params . rotateXY)
// srcImageCoords . xy = srcImageCoords . yx;
// //
// int xDir = params . flipX ? - 1 : 1; // int xDir = params . flipX ? - 1 : 1;
// //
......
// 10.15.3802 // 10.15.3802
#pragma once #pragma once
const uint32_t kBlitResolveStencilNoExport_comp_00000002[] = { const uint32_t kBlitResolveStencilNoExport_comp_00000002[] = {
0x07230203,0x00010000,0x0008000a,0x000000ba,0x00000000,0x00020011,0x00000001,0x0006000b, 0x07230203,0x00010000,0x0008000a,0x000000c3,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0006000f,0x00000005,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00060010,0x00000004, 0x0006000f,0x00000005,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00060010,0x00000004,
0x00000011,0x00000008,0x00000008,0x00000001,0x00040047,0x0000000d,0x0000000b,0x0000001c, 0x00000011,0x00000008,0x00000008,0x00000001,0x00040047,0x0000000d,0x0000000b,0x0000001c,
...@@ -10,87 +10,93 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000002[] = { ...@@ -10,87 +10,93 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000002[] = {
0x0000001d,0x00000003,0x00000023,0x00000018,0x00050048,0x0000001d,0x00000004,0x00000023, 0x0000001d,0x00000003,0x00000023,0x00000018,0x00050048,0x0000001d,0x00000004,0x00000023,
0x0000001c,0x00050048,0x0000001d,0x00000005,0x00000023,0x00000020,0x00050048,0x0000001d, 0x0000001c,0x00050048,0x0000001d,0x00000005,0x00000023,0x00000020,0x00050048,0x0000001d,
0x00000006,0x00000023,0x00000030,0x00050048,0x0000001d,0x00000007,0x00000023,0x00000034, 0x00000006,0x00000023,0x00000030,0x00050048,0x0000001d,0x00000007,0x00000023,0x00000034,
0x00050048,0x0000001d,0x00000008,0x00000023,0x00000038,0x00030047,0x0000001d,0x00000002, 0x00050048,0x0000001d,0x00000008,0x00000023,0x00000038,0x00050048,0x0000001d,0x00000009,
0x00040047,0x00000076,0x00000022,0x00000000,0x00040047,0x00000076,0x00000021,0x00000001, 0x00000023,0x0000003c,0x00030047,0x0000001d,0x00000002,0x00040047,0x0000007e,0x00000022,
0x00040047,0x0000008b,0x00000006,0x00000004,0x00050048,0x0000008c,0x00000000,0x00000023, 0x00000000,0x00040047,0x0000007e,0x00000021,0x00000001,0x00040047,0x00000093,0x00000006,
0x00000000,0x00030047,0x0000008c,0x00000003,0x00040047,0x0000008e,0x00000022,0x00000000, 0x00000004,0x00050048,0x00000094,0x00000000,0x00000023,0x00000000,0x00030047,0x00000094,
0x00040047,0x0000008e,0x00000021,0x00000000,0x00040047,0x0000009d,0x0000000b,0x00000019, 0x00000003,0x00040047,0x00000096,0x00000022,0x00000000,0x00040047,0x00000096,0x00000021,
0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,0x00000020, 0x00000000,0x00040047,0x000000a5,0x0000000b,0x00000019,0x00020013,0x00000002,0x00030021,
0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040015,0x0000000a,0x00000020, 0x00000003,0x00000002,0x00040015,0x00000006,0x00000020,0x00000001,0x00040017,0x00000007,
0x00000000,0x00040017,0x0000000b,0x0000000a,0x00000003,0x00040020,0x0000000c,0x00000001, 0x00000006,0x00000002,0x00040015,0x0000000a,0x00000020,0x00000000,0x00040017,0x0000000b,
0x0000000b,0x0004003b,0x0000000c,0x0000000d,0x00000001,0x0004002b,0x0000000a,0x0000000e, 0x0000000a,0x00000003,0x00040020,0x0000000c,0x00000001,0x0000000b,0x0004003b,0x0000000c,
0x00000000,0x00040020,0x0000000f,0x00000001,0x0000000a,0x0004002b,0x0000000a,0x00000012, 0x0000000d,0x00000001,0x0004002b,0x0000000a,0x0000000e,0x00000000,0x00040020,0x0000000f,
0x00000004,0x0004002b,0x0000000a,0x00000015,0x00000001,0x00030016,0x0000001a,0x00000020, 0x00000001,0x0000000a,0x0004002b,0x0000000a,0x00000012,0x00000004,0x0004002b,0x0000000a,
0x00040017,0x0000001b,0x0000001a,0x00000002,0x00040017,0x0000001c,0x00000006,0x00000004, 0x00000015,0x00000001,0x00030016,0x0000001a,0x00000020,0x00040017,0x0000001b,0x0000001a,
0x000b001e,0x0000001d,0x00000007,0x0000001b,0x0000001b,0x00000006,0x00000006,0x0000001c, 0x00000002,0x00040017,0x0000001c,0x00000006,0x00000004,0x000c001e,0x0000001d,0x00000007,
0x00000006,0x0000000a,0x0000000a,0x00040020,0x0000001e,0x00000009,0x0000001d,0x0004003b, 0x0000001b,0x0000001b,0x00000006,0x00000006,0x0000001c,0x00000006,0x0000000a,0x0000000a,
0x0000001e,0x0000001f,0x00000009,0x0004002b,0x00000006,0x00000020,0x00000005,0x00040020, 0x0000000a,0x00040020,0x0000001e,0x00000009,0x0000001d,0x0004003b,0x0000001e,0x0000001f,
0x00000021,0x00000009,0x0000001c,0x00020014,0x00000026,0x00040017,0x00000027,0x00000026, 0x00000009,0x0004002b,0x00000006,0x00000020,0x00000005,0x00040020,0x00000021,0x00000009,
0x00000002,0x0004002b,0x00000006,0x00000037,0x00000000,0x00040020,0x00000038,0x00000009, 0x0000001c,0x00020014,0x00000026,0x00040017,0x00000027,0x00000026,0x00000002,0x0004002b,
0x00000007,0x0004002b,0x00000006,0x0000003d,0x00000007,0x00040020,0x0000003e,0x00000009, 0x00000006,0x00000037,0x00000000,0x00040020,0x00000038,0x00000009,0x00000007,0x0004002b,
0x0000000a,0x0004002b,0x00000006,0x00000049,0x00000008,0x0004002b,0x00000006,0x00000057, 0x00000006,0x0000003d,0x00000007,0x00040020,0x0000003e,0x00000009,0x0000000a,0x0004002b,
0xffffffff,0x0004002b,0x00000006,0x00000058,0x00000001,0x0004002b,0x00000006,0x00000063, 0x00000006,0x00000049,0x00000008,0x0004002b,0x00000006,0x00000053,0x00000009,0x0004002b,
0x00000004,0x00040020,0x0000006c,0x00000009,0x00000006,0x00090019,0x00000074,0x0000000a, 0x00000006,0x0000005f,0xffffffff,0x0004002b,0x00000006,0x00000060,0x00000001,0x0004002b,
0x00000001,0x00000000,0x00000000,0x00000001,0x00000001,0x00000000,0x00040020,0x00000075, 0x00000006,0x0000006b,0x00000004,0x00040020,0x00000074,0x00000009,0x00000006,0x00090019,
0x00000000,0x00000074,0x0004003b,0x00000075,0x00000076,0x00000000,0x00040017,0x00000079, 0x0000007c,0x0000000a,0x00000001,0x00000000,0x00000000,0x00000001,0x00000001,0x00000000,
0x0000000a,0x00000004,0x0004002b,0x0000000a,0x0000007d,0x000000ff,0x0003001d,0x0000008b, 0x00040020,0x0000007d,0x00000000,0x0000007c,0x0004003b,0x0000007d,0x0000007e,0x00000000,
0x0000000a,0x0003001e,0x0000008c,0x0000008b,0x00040020,0x0000008d,0x00000002,0x0000008c, 0x00040017,0x00000081,0x0000000a,0x00000004,0x0004002b,0x0000000a,0x00000085,0x000000ff,
0x0004003b,0x0000008d,0x0000008e,0x00000002,0x0004002b,0x00000006,0x00000091,0x00000006, 0x0003001d,0x00000093,0x0000000a,0x0003001e,0x00000094,0x00000093,0x00040020,0x00000095,
0x00040020,0x0000009a,0x00000002,0x0000000a,0x0004002b,0x0000000a,0x0000009c,0x00000008, 0x00000002,0x00000094,0x0004003b,0x00000095,0x00000096,0x00000002,0x0004002b,0x00000006,
0x0006002c,0x0000000b,0x0000009d,0x0000009c,0x0000009c,0x00000015,0x00050036,0x00000002, 0x00000099,0x00000006,0x00040020,0x000000a2,0x00000002,0x0000000a,0x0004002b,0x0000000a,
0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x000300f7,0x0000009e,0x00000000, 0x000000a4,0x00000008,0x0006002c,0x0000000b,0x000000a5,0x000000a4,0x000000a4,0x00000015,
0x000300fb,0x0000000e,0x0000009f,0x000200f8,0x0000009f,0x00050041,0x0000000f,0x00000010, 0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x000300f7,
0x0000000d,0x0000000e,0x0004003d,0x0000000a,0x00000011,0x00000010,0x00050084,0x0000000a, 0x000000a6,0x00000000,0x000300fb,0x0000000e,0x000000a7,0x000200f8,0x000000a7,0x00050041,
0x00000013,0x00000011,0x00000012,0x0004007c,0x00000006,0x00000014,0x00000013,0x00050041, 0x0000000f,0x00000010,0x0000000d,0x0000000e,0x0004003d,0x0000000a,0x00000011,0x00000010,
0x0000000f,0x00000016,0x0000000d,0x00000015,0x0004003d,0x0000000a,0x00000017,0x00000016, 0x00050084,0x0000000a,0x00000013,0x00000011,0x00000012,0x0004007c,0x00000006,0x00000014,
0x0004007c,0x00000006,0x00000018,0x00000017,0x00050050,0x00000007,0x00000019,0x00000014, 0x00000013,0x00050041,0x0000000f,0x00000016,0x0000000d,0x00000015,0x0004003d,0x0000000a,
0x00000018,0x00050041,0x00000021,0x00000022,0x0000001f,0x00000020,0x0004003d,0x0000001c, 0x00000017,0x00000016,0x0004007c,0x00000006,0x00000018,0x00000017,0x00050050,0x00000007,
0x00000023,0x00000022,0x0007004f,0x00000007,0x00000024,0x00000023,0x00000023,0x00000002, 0x00000019,0x00000014,0x00000018,0x00050041,0x00000021,0x00000022,0x0000001f,0x00000020,
0x00000003,0x000500b3,0x00000027,0x00000028,0x00000024,0x00000019,0x0004009a,0x00000026, 0x0004003d,0x0000001c,0x00000023,0x00000022,0x0007004f,0x00000007,0x00000024,0x00000023,
0x00000029,0x00000028,0x000300f7,0x0000002b,0x00000000,0x000400fa,0x00000029,0x0000002a, 0x00000023,0x00000002,0x00000003,0x000500b3,0x00000027,0x00000028,0x00000024,0x00000019,
0x0000002b,0x000200f8,0x0000002a,0x000200f9,0x0000009e,0x000200f8,0x0000002b,0x0007004f, 0x0004009a,0x00000026,0x00000029,0x00000028,0x000300f7,0x0000002b,0x00000000,0x000400fa,
0x00000007,0x0000002f,0x00000023,0x00000023,0x00000000,0x00000001,0x00050080,0x00000007, 0x00000029,0x0000002a,0x0000002b,0x000200f8,0x0000002a,0x000200f9,0x000000a6,0x000200f8,
0x00000031,0x00000019,0x0000002f,0x00050041,0x00000038,0x00000039,0x0000001f,0x00000037, 0x0000002b,0x0007004f,0x00000007,0x0000002f,0x00000023,0x00000023,0x00000000,0x00000001,
0x0004003d,0x00000007,0x0000003a,0x00000039,0x00050082,0x00000007,0x0000003c,0x00000031, 0x00050080,0x00000007,0x00000031,0x00000019,0x0000002f,0x00050041,0x00000038,0x00000039,
0x0000003a,0x00050041,0x0000003e,0x0000003f,0x0000001f,0x0000003d,0x0004003d,0x0000000a, 0x0000001f,0x00000037,0x0004003d,0x00000007,0x0000003a,0x00000039,0x00050082,0x00000007,
0x00000040,0x0000003f,0x000500ab,0x00000026,0x00000041,0x00000040,0x0000000e,0x000300f7, 0x0000003c,0x00000031,0x0000003a,0x00050041,0x0000003e,0x0000003f,0x0000001f,0x0000003d,
0x00000043,0x00000000,0x000400fa,0x00000041,0x00000042,0x00000043,0x000200f8,0x00000042, 0x0004003d,0x0000000a,0x00000040,0x0000003f,0x000500ab,0x00000026,0x00000041,0x00000040,
0x00050051,0x00000006,0x00000046,0x0000003c,0x00000000,0x0004007e,0x00000006,0x00000047, 0x0000000e,0x000300f7,0x00000043,0x00000000,0x000400fa,0x00000041,0x00000042,0x00000043,
0x00000046,0x00060052,0x00000007,0x000000a6,0x00000047,0x0000003c,0x00000000,0x000200f9, 0x000200f8,0x00000042,0x00050051,0x00000006,0x00000046,0x0000003c,0x00000000,0x0004007e,
0x00000043,0x000200f8,0x00000043,0x000700f5,0x00000007,0x000000af,0x0000003c,0x0000002b, 0x00000006,0x00000047,0x00000046,0x00060052,0x00000007,0x000000ae,0x00000047,0x0000003c,
0x000000a6,0x00000042,0x00050041,0x0000003e,0x0000004a,0x0000001f,0x00000049,0x0004003d, 0x00000000,0x000200f9,0x00000043,0x000200f8,0x00000043,0x000700f5,0x00000007,0x000000b7,
0x0000000a,0x0000004b,0x0000004a,0x000500ab,0x00000026,0x0000004c,0x0000004b,0x0000000e, 0x0000003c,0x0000002b,0x000000ae,0x00000042,0x00050041,0x0000003e,0x0000004a,0x0000001f,
0x000300f7,0x0000004e,0x00000000,0x000400fa,0x0000004c,0x0000004d,0x0000004e,0x000200f8, 0x00000049,0x0004003d,0x0000000a,0x0000004b,0x0000004a,0x000500ab,0x00000026,0x0000004c,
0x0000004d,0x00050051,0x00000006,0x00000050,0x000000af,0x00000001,0x0004007e,0x00000006, 0x0000004b,0x0000000e,0x000300f7,0x0000004e,0x00000000,0x000400fa,0x0000004c,0x0000004d,
0x00000051,0x00000050,0x00060052,0x00000007,0x000000a9,0x00000051,0x000000af,0x00000001, 0x0000004e,0x000200f8,0x0000004d,0x00050051,0x00000006,0x00000050,0x000000b7,0x00000001,
0x000200f9,0x0000004e,0x000200f8,0x0000004e,0x000700f5,0x00000007,0x000000b3,0x000000af, 0x0004007e,0x00000006,0x00000051,0x00000050,0x00060052,0x00000007,0x000000b1,0x00000051,
0x00000043,0x000000a9,0x0000004d,0x000600a9,0x00000006,0x00000059,0x00000041,0x00000057, 0x000000b7,0x00000001,0x000200f9,0x0000004e,0x000200f8,0x0000004e,0x000700f5,0x00000007,
0x00000058,0x000200f9,0x0000005d,0x000200f8,0x0000005d,0x000700f5,0x00000007,0x000000b2, 0x000000b8,0x000000b7,0x00000043,0x000000b1,0x0000004d,0x00050041,0x0000003e,0x00000054,
0x000000b3,0x0000004e,0x000000ae,0x00000060,0x000700f5,0x0000000a,0x000000b1,0x0000000e, 0x0000001f,0x00000053,0x0004003d,0x0000000a,0x00000055,0x00000054,0x000500ab,0x00000026,
0x0000004e,0x000000b9,0x00000060,0x000700f5,0x00000006,0x000000b0,0x00000037,0x0000004e, 0x00000056,0x00000055,0x0000000e,0x000300f7,0x00000058,0x00000000,0x000400fa,0x00000056,
0x0000008a,0x00000060,0x000500b1,0x00000026,0x00000064,0x000000b0,0x00000063,0x000400f6, 0x00000057,0x00000058,0x000200f8,0x00000057,0x0007004f,0x00000007,0x0000005a,0x000000b8,
0x0000005f,0x00000060,0x00000000,0x000400fa,0x00000064,0x0000005e,0x0000005f,0x000200f8, 0x000000b8,0x00000001,0x00000000,0x000200f9,0x00000058,0x000200f8,0x00000058,0x000700f5,
0x0000005e,0x00050051,0x00000006,0x00000066,0x000000b2,0x00000000,0x000500af,0x00000026, 0x00000007,0x000000bc,0x000000b8,0x0000004e,0x0000005a,0x00000057,0x000600a9,0x00000006,
0x00000067,0x00000066,0x00000037,0x000300f7,0x00000069,0x00000000,0x000400fa,0x00000067, 0x00000061,0x00000041,0x0000005f,0x00000060,0x000200f9,0x00000065,0x000200f8,0x00000065,
0x00000068,0x00000069,0x000200f8,0x00000068,0x00050041,0x0000006c,0x0000006d,0x0000001f, 0x000700f5,0x00000007,0x000000bb,0x000000bc,0x00000058,0x000000b6,0x00000068,0x000700f5,
0x00000063,0x0004003d,0x00000006,0x0000006e,0x0000006d,0x000500b1,0x00000026,0x0000006f, 0x0000000a,0x000000ba,0x0000000e,0x00000058,0x000000c2,0x00000068,0x000700f5,0x00000006,
0x00000066,0x0000006e,0x000200f9,0x00000069,0x000200f8,0x00000069,0x000700f5,0x00000026, 0x000000b9,0x00000037,0x00000058,0x00000092,0x00000068,0x000500b1,0x00000026,0x0000006c,
0x00000070,0x00000067,0x0000005e,0x0000006f,0x00000068,0x000300f7,0x00000072,0x00000000, 0x000000b9,0x0000006b,0x000400f6,0x00000067,0x00000068,0x00000000,0x000400fa,0x0000006c,
0x000400fa,0x00000070,0x00000071,0x00000072,0x000200f8,0x00000071,0x0004003d,0x00000074, 0x00000066,0x00000067,0x000200f8,0x00000066,0x00050051,0x00000006,0x0000006e,0x000000bb,
0x00000077,0x00000076,0x0007005f,0x00000079,0x0000007a,0x00000077,0x000000b2,0x00000040, 0x00000000,0x000500af,0x00000026,0x0000006f,0x0000006e,0x00000037,0x000300f7,0x00000071,
0x00000037,0x00050051,0x0000000a,0x0000007b,0x0000007a,0x00000000,0x000500c7,0x0000000a, 0x00000000,0x000400fa,0x0000006f,0x00000070,0x00000071,0x000200f8,0x00000070,0x00050041,
0x0000007e,0x0000007b,0x0000007d,0x00050084,0x00000006,0x00000080,0x000000b0,0x00000049, 0x00000074,0x00000075,0x0000001f,0x0000006b,0x0004003d,0x00000006,0x00000076,0x00000075,
0x000500c4,0x0000000a,0x00000081,0x0000007e,0x00000080,0x000500c5,0x0000000a,0x00000083, 0x000500b1,0x00000026,0x00000077,0x0000006e,0x00000076,0x000200f9,0x00000071,0x000200f8,
0x000000b1,0x00000081,0x000200f9,0x00000072,0x000200f8,0x00000072,0x000700f5,0x0000000a, 0x00000071,0x000700f5,0x00000026,0x00000078,0x0000006f,0x00000066,0x00000077,0x00000070,
0x000000b9,0x000000b1,0x00000069,0x00000083,0x00000071,0x00050080,0x00000006,0x00000087, 0x000300f7,0x0000007a,0x00000000,0x000400fa,0x00000078,0x00000079,0x0000007a,0x000200f8,
0x00000066,0x00000059,0x00060052,0x00000007,0x000000ae,0x00000087,0x000000b2,0x00000000, 0x00000079,0x0004003d,0x0000007c,0x0000007f,0x0000007e,0x0007005f,0x00000081,0x00000082,
0x000200f9,0x00000060,0x000200f8,0x00000060,0x00050080,0x00000006,0x0000008a,0x000000b0, 0x0000007f,0x000000bb,0x00000040,0x00000037,0x00050051,0x0000000a,0x00000083,0x00000082,
0x00000058,0x000200f9,0x0000005d,0x000200f8,0x0000005f,0x00050041,0x0000006c,0x00000092, 0x00000000,0x000500c7,0x0000000a,0x00000086,0x00000083,0x00000085,0x00050084,0x00000006,
0x0000001f,0x00000091,0x0004003d,0x00000006,0x00000093,0x00000092,0x0004007c,0x0000000a, 0x00000088,0x000000b9,0x00000049,0x000500c4,0x0000000a,0x00000089,0x00000086,0x00000088,
0x00000094,0x00000093,0x00050084,0x0000000a,0x00000095,0x00000017,0x00000094,0x00050080, 0x000500c5,0x0000000a,0x0000008b,0x000000ba,0x00000089,0x000200f9,0x0000007a,0x000200f8,
0x0000000a,0x00000098,0x00000095,0x00000011,0x00060041,0x0000009a,0x0000009b,0x0000008e, 0x0000007a,0x000700f5,0x0000000a,0x000000c2,0x000000ba,0x00000071,0x0000008b,0x00000079,
0x00000037,0x00000098,0x0003003e,0x0000009b,0x000000b1,0x000200f9,0x0000009e,0x000200f8, 0x00050080,0x00000006,0x0000008f,0x0000006e,0x00000061,0x00060052,0x00000007,0x000000b6,
0x0000009e,0x000100fd,0x00010038 0x0000008f,0x000000bb,0x00000000,0x000200f9,0x00000068,0x000200f8,0x00000068,0x00050080,
0x00000006,0x00000092,0x000000b9,0x00000060,0x000200f9,0x00000065,0x000200f8,0x00000067,
0x00050041,0x00000074,0x0000009a,0x0000001f,0x00000099,0x0004003d,0x00000006,0x0000009b,
0x0000009a,0x0004007c,0x0000000a,0x0000009c,0x0000009b,0x00050084,0x0000000a,0x0000009d,
0x00000017,0x0000009c,0x00050080,0x0000000a,0x000000a0,0x0000009d,0x00000011,0x00060041,
0x000000a2,0x000000a3,0x00000096,0x00000037,0x000000a0,0x0003003e,0x000000a3,0x000000ba,
0x000200f9,0x000000a6,0x000200f8,0x000000a6,0x000100fd,0x00010038
}; };
// Generated from: // Generated from:
...@@ -114,6 +120,7 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000002[] = { ...@@ -114,6 +120,7 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000002[] = {
// //
// bool flipX; // bool flipX;
// bool flipY; // bool flipY;
// bool rotateXY;
// } params; // } params;
// //
// layout(set = 0, binding = 0)buffer dest // layout(set = 0, binding = 0)buffer dest
...@@ -141,6 +148,8 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000002[] = { ...@@ -141,6 +148,8 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000002[] = {
// srcImageCoords . x = - srcImageCoords . x; // srcImageCoords . x = - srcImageCoords . x;
// if(params . flipY) // if(params . flipY)
// srcImageCoords . y = - srcImageCoords . y; // srcImageCoords . y = - srcImageCoords . y;
// if(params . rotateXY)
// srcImageCoords . xy = srcImageCoords . yx;
// //
// int xDir = params . flipX ? - 1 : 1; // int xDir = params . flipX ? - 1 : 1;
// //
......
// 10.15.3802 // 10.15.3802
#pragma once #pragma once
const uint32_t kBlitResolveStencilNoExport_comp_00000003[] = { const uint32_t kBlitResolveStencilNoExport_comp_00000003[] = {
0x07230203,0x00010000,0x0008000a,0x000000c1,0x00000000,0x00020011,0x00000001,0x0006000b, 0x07230203,0x00010000,0x0008000a,0x000000ca,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0006000f,0x00000005,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00060010,0x00000004, 0x0006000f,0x00000005,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00060010,0x00000004,
0x00000011,0x00000008,0x00000008,0x00000001,0x00040047,0x0000000d,0x0000000b,0x0000001c, 0x00000011,0x00000008,0x00000008,0x00000001,0x00040047,0x0000000d,0x0000000b,0x0000001c,
...@@ -10,90 +10,97 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000003[] = { ...@@ -10,90 +10,97 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000003[] = {
0x0000001d,0x00000003,0x00000023,0x00000018,0x00050048,0x0000001d,0x00000004,0x00000023, 0x0000001d,0x00000003,0x00000023,0x00000018,0x00050048,0x0000001d,0x00000004,0x00000023,
0x0000001c,0x00050048,0x0000001d,0x00000005,0x00000023,0x00000020,0x00050048,0x0000001d, 0x0000001c,0x00050048,0x0000001d,0x00000005,0x00000023,0x00000020,0x00050048,0x0000001d,
0x00000006,0x00000023,0x00000030,0x00050048,0x0000001d,0x00000007,0x00000023,0x00000034, 0x00000006,0x00000023,0x00000030,0x00050048,0x0000001d,0x00000007,0x00000023,0x00000034,
0x00050048,0x0000001d,0x00000008,0x00000023,0x00000038,0x00030047,0x0000001d,0x00000002, 0x00050048,0x0000001d,0x00000008,0x00000023,0x00000038,0x00050048,0x0000001d,0x00000009,
0x00040047,0x00000076,0x00000022,0x00000000,0x00040047,0x00000076,0x00000021,0x00000001, 0x00000023,0x0000003c,0x00030047,0x0000001d,0x00000002,0x00040047,0x0000007e,0x00000022,
0x00040047,0x00000092,0x00000006,0x00000004,0x00050048,0x00000093,0x00000000,0x00000023, 0x00000000,0x00040047,0x0000007e,0x00000021,0x00000001,0x00040047,0x0000009a,0x00000006,
0x00000000,0x00030047,0x00000093,0x00000003,0x00040047,0x00000095,0x00000022,0x00000000, 0x00000004,0x00050048,0x0000009b,0x00000000,0x00000023,0x00000000,0x00030047,0x0000009b,
0x00040047,0x00000095,0x00000021,0x00000000,0x00040047,0x000000a4,0x0000000b,0x00000019, 0x00000003,0x00040047,0x0000009d,0x00000022,0x00000000,0x00040047,0x0000009d,0x00000021,
0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,0x00000020, 0x00000000,0x00040047,0x000000ac,0x0000000b,0x00000019,0x00020013,0x00000002,0x00030021,
0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040015,0x0000000a,0x00000020, 0x00000003,0x00000002,0x00040015,0x00000006,0x00000020,0x00000001,0x00040017,0x00000007,
0x00000000,0x00040017,0x0000000b,0x0000000a,0x00000003,0x00040020,0x0000000c,0x00000001, 0x00000006,0x00000002,0x00040015,0x0000000a,0x00000020,0x00000000,0x00040017,0x0000000b,
0x0000000b,0x0004003b,0x0000000c,0x0000000d,0x00000001,0x0004002b,0x0000000a,0x0000000e, 0x0000000a,0x00000003,0x00040020,0x0000000c,0x00000001,0x0000000b,0x0004003b,0x0000000c,
0x00000000,0x00040020,0x0000000f,0x00000001,0x0000000a,0x0004002b,0x0000000a,0x00000012, 0x0000000d,0x00000001,0x0004002b,0x0000000a,0x0000000e,0x00000000,0x00040020,0x0000000f,
0x00000004,0x0004002b,0x0000000a,0x00000015,0x00000001,0x00030016,0x0000001a,0x00000020, 0x00000001,0x0000000a,0x0004002b,0x0000000a,0x00000012,0x00000004,0x0004002b,0x0000000a,
0x00040017,0x0000001b,0x0000001a,0x00000002,0x00040017,0x0000001c,0x00000006,0x00000004, 0x00000015,0x00000001,0x00030016,0x0000001a,0x00000020,0x00040017,0x0000001b,0x0000001a,
0x000b001e,0x0000001d,0x00000007,0x0000001b,0x0000001b,0x00000006,0x00000006,0x0000001c, 0x00000002,0x00040017,0x0000001c,0x00000006,0x00000004,0x000c001e,0x0000001d,0x00000007,
0x00000006,0x0000000a,0x0000000a,0x00040020,0x0000001e,0x00000009,0x0000001d,0x0004003b, 0x0000001b,0x0000001b,0x00000006,0x00000006,0x0000001c,0x00000006,0x0000000a,0x0000000a,
0x0000001e,0x0000001f,0x00000009,0x0004002b,0x00000006,0x00000020,0x00000005,0x00040020, 0x0000000a,0x00040020,0x0000001e,0x00000009,0x0000001d,0x0004003b,0x0000001e,0x0000001f,
0x00000021,0x00000009,0x0000001c,0x00020014,0x00000026,0x00040017,0x00000027,0x00000026, 0x00000009,0x0004002b,0x00000006,0x00000020,0x00000005,0x00040020,0x00000021,0x00000009,
0x00000002,0x0004002b,0x00000006,0x00000037,0x00000000,0x00040020,0x00000038,0x00000009, 0x0000001c,0x00020014,0x00000026,0x00040017,0x00000027,0x00000026,0x00000002,0x0004002b,
0x00000007,0x0004002b,0x00000006,0x0000003d,0x00000007,0x00040020,0x0000003e,0x00000009, 0x00000006,0x00000037,0x00000000,0x00040020,0x00000038,0x00000009,0x00000007,0x0004002b,
0x0000000a,0x0004002b,0x00000006,0x00000049,0x00000008,0x0004002b,0x00000006,0x00000057, 0x00000006,0x0000003d,0x00000007,0x00040020,0x0000003e,0x00000009,0x0000000a,0x0004002b,
0xffffffff,0x0004002b,0x00000006,0x00000058,0x00000001,0x0004002b,0x00000006,0x00000063, 0x00000006,0x00000049,0x00000008,0x0004002b,0x00000006,0x00000053,0x00000009,0x0004002b,
0x00000004,0x00040020,0x0000006c,0x00000009,0x00000006,0x00090019,0x00000074,0x0000000a, 0x00000006,0x0000005f,0xffffffff,0x0004002b,0x00000006,0x00000060,0x00000001,0x0004002b,
0x00000001,0x00000000,0x00000001,0x00000001,0x00000001,0x00000000,0x00040020,0x00000075, 0x00000006,0x0000006b,0x00000004,0x00040020,0x00000074,0x00000009,0x00000006,0x00090019,
0x00000000,0x00000074,0x0004003b,0x00000075,0x00000076,0x00000000,0x0004002b,0x00000006, 0x0000007c,0x0000000a,0x00000001,0x00000000,0x00000001,0x00000001,0x00000001,0x00000000,
0x00000079,0x00000003,0x00040017,0x0000007c,0x00000006,0x00000003,0x00040017,0x00000080, 0x00040020,0x0000007d,0x00000000,0x0000007c,0x0004003b,0x0000007d,0x0000007e,0x00000000,
0x0000000a,0x00000004,0x0004002b,0x0000000a,0x00000084,0x000000ff,0x0003001d,0x00000092, 0x0004002b,0x00000006,0x00000081,0x00000003,0x00040017,0x00000084,0x00000006,0x00000003,
0x0000000a,0x0003001e,0x00000093,0x00000092,0x00040020,0x00000094,0x00000002,0x00000093, 0x00040017,0x00000088,0x0000000a,0x00000004,0x0004002b,0x0000000a,0x0000008c,0x000000ff,
0x0004003b,0x00000094,0x00000095,0x00000002,0x0004002b,0x00000006,0x00000098,0x00000006, 0x0003001d,0x0000009a,0x0000000a,0x0003001e,0x0000009b,0x0000009a,0x00040020,0x0000009c,
0x00040020,0x000000a1,0x00000002,0x0000000a,0x0004002b,0x0000000a,0x000000a3,0x00000008, 0x00000002,0x0000009b,0x0004003b,0x0000009c,0x0000009d,0x00000002,0x0004002b,0x00000006,
0x0006002c,0x0000000b,0x000000a4,0x000000a3,0x000000a3,0x00000015,0x00050036,0x00000002, 0x000000a0,0x00000006,0x00040020,0x000000a9,0x00000002,0x0000000a,0x0004002b,0x0000000a,
0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x000300f7,0x000000a5,0x00000000, 0x000000ab,0x00000008,0x0006002c,0x0000000b,0x000000ac,0x000000ab,0x000000ab,0x00000015,
0x000300fb,0x0000000e,0x000000a6,0x000200f8,0x000000a6,0x00050041,0x0000000f,0x00000010, 0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x000300f7,
0x0000000d,0x0000000e,0x0004003d,0x0000000a,0x00000011,0x00000010,0x00050084,0x0000000a, 0x000000ad,0x00000000,0x000300fb,0x0000000e,0x000000ae,0x000200f8,0x000000ae,0x00050041,
0x00000013,0x00000011,0x00000012,0x0004007c,0x00000006,0x00000014,0x00000013,0x00050041, 0x0000000f,0x00000010,0x0000000d,0x0000000e,0x0004003d,0x0000000a,0x00000011,0x00000010,
0x0000000f,0x00000016,0x0000000d,0x00000015,0x0004003d,0x0000000a,0x00000017,0x00000016, 0x00050084,0x0000000a,0x00000013,0x00000011,0x00000012,0x0004007c,0x00000006,0x00000014,
0x0004007c,0x00000006,0x00000018,0x00000017,0x00050050,0x00000007,0x00000019,0x00000014, 0x00000013,0x00050041,0x0000000f,0x00000016,0x0000000d,0x00000015,0x0004003d,0x0000000a,
0x00000018,0x00050041,0x00000021,0x00000022,0x0000001f,0x00000020,0x0004003d,0x0000001c, 0x00000017,0x00000016,0x0004007c,0x00000006,0x00000018,0x00000017,0x00050050,0x00000007,
0x00000023,0x00000022,0x0007004f,0x00000007,0x00000024,0x00000023,0x00000023,0x00000002, 0x00000019,0x00000014,0x00000018,0x00050041,0x00000021,0x00000022,0x0000001f,0x00000020,
0x00000003,0x000500b3,0x00000027,0x00000028,0x00000024,0x00000019,0x0004009a,0x00000026, 0x0004003d,0x0000001c,0x00000023,0x00000022,0x0007004f,0x00000007,0x00000024,0x00000023,
0x00000029,0x00000028,0x000300f7,0x0000002b,0x00000000,0x000400fa,0x00000029,0x0000002a, 0x00000023,0x00000002,0x00000003,0x000500b3,0x00000027,0x00000028,0x00000024,0x00000019,
0x0000002b,0x000200f8,0x0000002a,0x000200f9,0x000000a5,0x000200f8,0x0000002b,0x0007004f, 0x0004009a,0x00000026,0x00000029,0x00000028,0x000300f7,0x0000002b,0x00000000,0x000400fa,
0x00000007,0x0000002f,0x00000023,0x00000023,0x00000000,0x00000001,0x00050080,0x00000007, 0x00000029,0x0000002a,0x0000002b,0x000200f8,0x0000002a,0x000200f9,0x000000ad,0x000200f8,
0x00000031,0x00000019,0x0000002f,0x00050041,0x00000038,0x00000039,0x0000001f,0x00000037, 0x0000002b,0x0007004f,0x00000007,0x0000002f,0x00000023,0x00000023,0x00000000,0x00000001,
0x0004003d,0x00000007,0x0000003a,0x00000039,0x00050082,0x00000007,0x0000003c,0x00000031, 0x00050080,0x00000007,0x00000031,0x00000019,0x0000002f,0x00050041,0x00000038,0x00000039,
0x0000003a,0x00050041,0x0000003e,0x0000003f,0x0000001f,0x0000003d,0x0004003d,0x0000000a, 0x0000001f,0x00000037,0x0004003d,0x00000007,0x0000003a,0x00000039,0x00050082,0x00000007,
0x00000040,0x0000003f,0x000500ab,0x00000026,0x00000041,0x00000040,0x0000000e,0x000300f7, 0x0000003c,0x00000031,0x0000003a,0x00050041,0x0000003e,0x0000003f,0x0000001f,0x0000003d,
0x00000043,0x00000000,0x000400fa,0x00000041,0x00000042,0x00000043,0x000200f8,0x00000042, 0x0004003d,0x0000000a,0x00000040,0x0000003f,0x000500ab,0x00000026,0x00000041,0x00000040,
0x00050051,0x00000006,0x00000046,0x0000003c,0x00000000,0x0004007e,0x00000006,0x00000047, 0x0000000e,0x000300f7,0x00000043,0x00000000,0x000400fa,0x00000041,0x00000042,0x00000043,
0x00000046,0x00060052,0x00000007,0x000000ad,0x00000047,0x0000003c,0x00000000,0x000200f9, 0x000200f8,0x00000042,0x00050051,0x00000006,0x00000046,0x0000003c,0x00000000,0x0004007e,
0x00000043,0x000200f8,0x00000043,0x000700f5,0x00000007,0x000000b6,0x0000003c,0x0000002b, 0x00000006,0x00000047,0x00000046,0x00060052,0x00000007,0x000000b5,0x00000047,0x0000003c,
0x000000ad,0x00000042,0x00050041,0x0000003e,0x0000004a,0x0000001f,0x00000049,0x0004003d, 0x00000000,0x000200f9,0x00000043,0x000200f8,0x00000043,0x000700f5,0x00000007,0x000000be,
0x0000000a,0x0000004b,0x0000004a,0x000500ab,0x00000026,0x0000004c,0x0000004b,0x0000000e, 0x0000003c,0x0000002b,0x000000b5,0x00000042,0x00050041,0x0000003e,0x0000004a,0x0000001f,
0x000300f7,0x0000004e,0x00000000,0x000400fa,0x0000004c,0x0000004d,0x0000004e,0x000200f8, 0x00000049,0x0004003d,0x0000000a,0x0000004b,0x0000004a,0x000500ab,0x00000026,0x0000004c,
0x0000004d,0x00050051,0x00000006,0x00000050,0x000000b6,0x00000001,0x0004007e,0x00000006, 0x0000004b,0x0000000e,0x000300f7,0x0000004e,0x00000000,0x000400fa,0x0000004c,0x0000004d,
0x00000051,0x00000050,0x00060052,0x00000007,0x000000b0,0x00000051,0x000000b6,0x00000001, 0x0000004e,0x000200f8,0x0000004d,0x00050051,0x00000006,0x00000050,0x000000be,0x00000001,
0x000200f9,0x0000004e,0x000200f8,0x0000004e,0x000700f5,0x00000007,0x000000ba,0x000000b6, 0x0004007e,0x00000006,0x00000051,0x00000050,0x00060052,0x00000007,0x000000b8,0x00000051,
0x00000043,0x000000b0,0x0000004d,0x000600a9,0x00000006,0x00000059,0x00000041,0x00000057, 0x000000be,0x00000001,0x000200f9,0x0000004e,0x000200f8,0x0000004e,0x000700f5,0x00000007,
0x00000058,0x000200f9,0x0000005d,0x000200f8,0x0000005d,0x000700f5,0x00000007,0x000000b9, 0x000000bf,0x000000be,0x00000043,0x000000b8,0x0000004d,0x00050041,0x0000003e,0x00000054,
0x000000ba,0x0000004e,0x000000b5,0x00000060,0x000700f5,0x0000000a,0x000000b8,0x0000000e, 0x0000001f,0x00000053,0x0004003d,0x0000000a,0x00000055,0x00000054,0x000500ab,0x00000026,
0x0000004e,0x000000c0,0x00000060,0x000700f5,0x00000006,0x000000b7,0x00000037,0x0000004e, 0x00000056,0x00000055,0x0000000e,0x000300f7,0x00000058,0x00000000,0x000400fa,0x00000056,
0x00000091,0x00000060,0x000500b1,0x00000026,0x00000064,0x000000b7,0x00000063,0x000400f6, 0x00000057,0x00000058,0x000200f8,0x00000057,0x0007004f,0x00000007,0x0000005a,0x000000bf,
0x0000005f,0x00000060,0x00000000,0x000400fa,0x00000064,0x0000005e,0x0000005f,0x000200f8, 0x000000bf,0x00000001,0x00000000,0x000200f9,0x00000058,0x000200f8,0x00000058,0x000700f5,
0x0000005e,0x00050051,0x00000006,0x00000066,0x000000b9,0x00000000,0x000500af,0x00000026, 0x00000007,0x000000c3,0x000000bf,0x0000004e,0x0000005a,0x00000057,0x000600a9,0x00000006,
0x00000067,0x00000066,0x00000037,0x000300f7,0x00000069,0x00000000,0x000400fa,0x00000067, 0x00000061,0x00000041,0x0000005f,0x00000060,0x000200f9,0x00000065,0x000200f8,0x00000065,
0x00000068,0x00000069,0x000200f8,0x00000068,0x00050041,0x0000006c,0x0000006d,0x0000001f, 0x000700f5,0x00000007,0x000000c2,0x000000c3,0x00000058,0x000000bd,0x00000068,0x000700f5,
0x00000063,0x0004003d,0x00000006,0x0000006e,0x0000006d,0x000500b1,0x00000026,0x0000006f, 0x0000000a,0x000000c1,0x0000000e,0x00000058,0x000000c9,0x00000068,0x000700f5,0x00000006,
0x00000066,0x0000006e,0x000200f9,0x00000069,0x000200f8,0x00000069,0x000700f5,0x00000026, 0x000000c0,0x00000037,0x00000058,0x00000099,0x00000068,0x000500b1,0x00000026,0x0000006c,
0x00000070,0x00000067,0x0000005e,0x0000006f,0x00000068,0x000300f7,0x00000072,0x00000000, 0x000000c0,0x0000006b,0x000400f6,0x00000067,0x00000068,0x00000000,0x000400fa,0x0000006c,
0x000400fa,0x00000070,0x00000071,0x00000072,0x000200f8,0x00000071,0x0004003d,0x00000074, 0x00000066,0x00000067,0x000200f8,0x00000066,0x00050051,0x00000006,0x0000006e,0x000000c2,
0x00000077,0x00000076,0x00050041,0x0000006c,0x0000007a,0x0000001f,0x00000079,0x0004003d, 0x00000000,0x000500af,0x00000026,0x0000006f,0x0000006e,0x00000037,0x000300f7,0x00000071,
0x00000006,0x0000007b,0x0000007a,0x00050051,0x00000006,0x0000007e,0x000000b9,0x00000001, 0x00000000,0x000400fa,0x0000006f,0x00000070,0x00000071,0x000200f8,0x00000070,0x00050041,
0x00060050,0x0000007c,0x0000007f,0x00000066,0x0000007e,0x0000007b,0x0007005f,0x00000080, 0x00000074,0x00000075,0x0000001f,0x0000006b,0x0004003d,0x00000006,0x00000076,0x00000075,
0x00000081,0x00000077,0x0000007f,0x00000040,0x00000037,0x00050051,0x0000000a,0x00000082, 0x000500b1,0x00000026,0x00000077,0x0000006e,0x00000076,0x000200f9,0x00000071,0x000200f8,
0x00000081,0x00000000,0x000500c7,0x0000000a,0x00000085,0x00000082,0x00000084,0x00050084, 0x00000071,0x000700f5,0x00000026,0x00000078,0x0000006f,0x00000066,0x00000077,0x00000070,
0x00000006,0x00000087,0x000000b7,0x00000049,0x000500c4,0x0000000a,0x00000088,0x00000085, 0x000300f7,0x0000007a,0x00000000,0x000400fa,0x00000078,0x00000079,0x0000007a,0x000200f8,
0x00000087,0x000500c5,0x0000000a,0x0000008a,0x000000b8,0x00000088,0x000200f9,0x00000072, 0x00000079,0x0004003d,0x0000007c,0x0000007f,0x0000007e,0x00050041,0x00000074,0x00000082,
0x000200f8,0x00000072,0x000700f5,0x0000000a,0x000000c0,0x000000b8,0x00000069,0x0000008a, 0x0000001f,0x00000081,0x0004003d,0x00000006,0x00000083,0x00000082,0x00050051,0x00000006,
0x00000071,0x00050080,0x00000006,0x0000008e,0x00000066,0x00000059,0x00060052,0x00000007, 0x00000086,0x000000c2,0x00000001,0x00060050,0x00000084,0x00000087,0x0000006e,0x00000086,
0x000000b5,0x0000008e,0x000000b9,0x00000000,0x000200f9,0x00000060,0x000200f8,0x00000060, 0x00000083,0x0007005f,0x00000088,0x00000089,0x0000007f,0x00000087,0x00000040,0x00000037,
0x00050080,0x00000006,0x00000091,0x000000b7,0x00000058,0x000200f9,0x0000005d,0x000200f8, 0x00050051,0x0000000a,0x0000008a,0x00000089,0x00000000,0x000500c7,0x0000000a,0x0000008d,
0x0000005f,0x00050041,0x0000006c,0x00000099,0x0000001f,0x00000098,0x0004003d,0x00000006, 0x0000008a,0x0000008c,0x00050084,0x00000006,0x0000008f,0x000000c0,0x00000049,0x000500c4,
0x0000009a,0x00000099,0x0004007c,0x0000000a,0x0000009b,0x0000009a,0x00050084,0x0000000a, 0x0000000a,0x00000090,0x0000008d,0x0000008f,0x000500c5,0x0000000a,0x00000092,0x000000c1,
0x0000009c,0x00000017,0x0000009b,0x00050080,0x0000000a,0x0000009f,0x0000009c,0x00000011, 0x00000090,0x000200f9,0x0000007a,0x000200f8,0x0000007a,0x000700f5,0x0000000a,0x000000c9,
0x00060041,0x000000a1,0x000000a2,0x00000095,0x00000037,0x0000009f,0x0003003e,0x000000a2, 0x000000c1,0x00000071,0x00000092,0x00000079,0x00050080,0x00000006,0x00000096,0x0000006e,
0x000000b8,0x000200f9,0x000000a5,0x000200f8,0x000000a5,0x000100fd,0x00010038 0x00000061,0x00060052,0x00000007,0x000000bd,0x00000096,0x000000c2,0x00000000,0x000200f9,
0x00000068,0x000200f8,0x00000068,0x00050080,0x00000006,0x00000099,0x000000c0,0x00000060,
0x000200f9,0x00000065,0x000200f8,0x00000067,0x00050041,0x00000074,0x000000a1,0x0000001f,
0x000000a0,0x0004003d,0x00000006,0x000000a2,0x000000a1,0x0004007c,0x0000000a,0x000000a3,
0x000000a2,0x00050084,0x0000000a,0x000000a4,0x00000017,0x000000a3,0x00050080,0x0000000a,
0x000000a7,0x000000a4,0x00000011,0x00060041,0x000000a9,0x000000aa,0x0000009d,0x00000037,
0x000000a7,0x0003003e,0x000000aa,0x000000c1,0x000200f9,0x000000ad,0x000200f8,0x000000ad,
0x000100fd,0x00010038
}; };
// Generated from: // Generated from:
...@@ -117,6 +124,7 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000003[] = { ...@@ -117,6 +124,7 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000003[] = {
// //
// bool flipX; // bool flipX;
// bool flipY; // bool flipY;
// bool rotateXY;
// } params; // } params;
// //
// layout(set = 0, binding = 0)buffer dest // layout(set = 0, binding = 0)buffer dest
...@@ -144,6 +152,8 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000003[] = { ...@@ -144,6 +152,8 @@ const uint32_t kBlitResolveStencilNoExport_comp_00000003[] = {
// srcImageCoords . x = - srcImageCoords . x; // srcImageCoords . x = - srcImageCoords . x;
// if(params . flipY) // if(params . flipY)
// srcImageCoords . y = - srcImageCoords . y; // srcImageCoords . y = - srcImageCoords . y;
// if(params . rotateXY)
// srcImageCoords . xy = srcImageCoords . yx;
// //
// int xDir = params . flipX ? - 1 : 1; // int xDir = params . flipX ? - 1 : 1;
// //
......
...@@ -54,6 +54,7 @@ layout(push_constant) uniform PushConstants { ...@@ -54,6 +54,7 @@ layout(push_constant) uniform PushConstants {
// Flip control. // Flip control.
bool flipX; bool flipX;
bool flipY; bool flipY;
bool rotateXY;
} params; } params;
layout (set = 0, binding = 0) buffer dest layout (set = 0, binding = 0) buffer dest
...@@ -98,6 +99,8 @@ void main() ...@@ -98,6 +99,8 @@ void main()
srcImageCoords.x = -srcImageCoords.x; srcImageCoords.x = -srcImageCoords.x;
if (params.flipY) if (params.flipY)
srcImageCoords.y = -srcImageCoords.y; srcImageCoords.y = -srcImageCoords.y;
if (params.rotateXY)
srcImageCoords.xy = srcImageCoords.yx;
int xDir = params.flipX ? -1 : 1; int xDir = params.flipX ? -1 : 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment