Commit 98496cab by Antonio Maiorano Committed by Commit Bot

Fix float to int copy in VK backend

This fixes WebGL tests on Vulkan (e.g. SwiftShaderVK) that copy from the canvas (GL_RGBA8) to an integer format target texture, such as: conformance2/textures/canvas_sub_rectangle/tex-2d-rg8ui-rg_integer-unsigned_byte.html The sampled normalized value needs to be scaled up by 255. Also fixes angle_end2end test CopyTextureTestES3.ES3UintFormats on Vulkan. Bug: b/156399229 Bug: angleproject:4092 Change-Id: I18d46bc4453fdc500caca96ca3a12fe93290b10c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2219142Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
parent 82848585
...@@ -194,9 +194,9 @@ ...@@ -194,9 +194,9 @@
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000005.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000005.inc":
"c8068cf825d7559681ede42674c3e3ea", "c8068cf825d7559681ede42674c3e3ea",
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000008.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000008.inc":
"f3a6575224a4c95364b62c049ccb57f2", "54faeed7f5207db33c51c46156cfc55d",
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000009.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000009.inc":
"bf0e9031687ee22d94cb1667365b1ca0", "86dd2b83ecc252cb110f292e133176f8",
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000000A.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000000A.inc":
"157eea1b255a9fc13a39d0fed5791582", "157eea1b255a9fc13a39d0fed5791582",
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000000B.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000000B.inc":
...@@ -206,9 +206,9 @@ ...@@ -206,9 +206,9 @@
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000000D.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000000D.inc":
"c55d9db160a06e72e35f882940a45f21", "c55d9db160a06e72e35f882940a45f21",
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000010.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000010.inc":
"b26e9b2235c5c2de27ba536d09763c81", "ab5feb0ce83ba342916a13c4b72ed224",
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000011.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000011.inc":
"36d786b1ab799616cdf9a3bff9ed2252", "bd47595d6304983dfc4e3f348f3731c3",
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000012.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000012.inc":
"aec2cf9115e5e3b2367487255d030c17", "aec2cf9115e5e3b2367487255d030c17",
"src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000013.inc": "src/libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000013.inc":
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
"src/libANGLE/renderer/vulkan/shaders/src/ImageClear.frag": "src/libANGLE/renderer/vulkan/shaders/src/ImageClear.frag":
"8889ae8014a657a0efd5607954126945", "8889ae8014a657a0efd5607954126945",
"src/libANGLE/renderer/vulkan/shaders/src/ImageCopy.frag": "src/libANGLE/renderer/vulkan/shaders/src/ImageCopy.frag":
"f0f3cc82d78198f114b698e1aea31267", "e62eb8ee0f264434330382cb2e050a52",
"src/libANGLE/renderer/vulkan/shaders/src/OverlayCull.comp": "src/libANGLE/renderer/vulkan/shaders/src/OverlayCull.comp":
"c89a0d185f7723e0c221c135aa4f48a3", "c89a0d185f7723e0c221c135aa4f48a3",
"src/libANGLE/renderer/vulkan/shaders/src/OverlayDraw.comp": "src/libANGLE/renderer/vulkan/shaders/src/OverlayDraw.comp":
......
// 7.12.3226 // 7.12.3226
#pragma once #pragma once
const uint32_t kImageCopy_frag_00000008[] = { const uint32_t kImageCopy_frag_00000008[] = {
0x07230203,0x00010000,0x00080007,0x00000096,0x00000000,0x00020011,0x00000001,0x0006000b, 0x07230203,0x00010000,0x00080007,0x00000099,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00000094,0x00030010, 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00000097,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x000b0004,0x455f4c47,0x735f5458, 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x000b0004,0x455f4c47,0x735f5458,
0x6c706d61,0x656c7265,0x745f7373,0x75747865,0x665f6572,0x74636e75,0x736e6f69,0x00000000, 0x6c706d61,0x656c7265,0x745f7373,0x75747865,0x665f6572,0x74636e75,0x736e6f69,0x00000000,
0x00040005,0x00000004,0x6e69616d,0x00000000,0x00070005,0x00000009,0x74736564,0x49627553, 0x00040005,0x00000004,0x6e69616d,0x00000000,0x00070005,0x00000009,0x74736564,0x49627553,
...@@ -19,9 +19,9 @@ const uint32_t kImageCopy_frag_00000008[] = { ...@@ -19,9 +19,9 @@ const uint32_t kImageCopy_frag_00000008[] = {
0x00090006,0x00000013,0x00000009,0x74736564,0x61666544,0x43746c75,0x6e6e6168,0x4d736c65, 0x00090006,0x00000013,0x00000009,0x74736564,0x61666544,0x43746c75,0x6e6e6168,0x4d736c65,
0x006b7361,0x00040005,0x00000015,0x61726170,0x0000736d,0x00070005,0x0000001b,0x53637273, 0x006b7361,0x00040005,0x00000015,0x61726170,0x0000736d,0x00070005,0x0000001b,0x53637273,
0x6d496275,0x43656761,0x64726f6f,0x00000073,0x00050005,0x0000002d,0x56637273,0x65756c61, 0x6d496275,0x43656761,0x64726f6f,0x00000073,0x00050005,0x0000002d,0x56637273,0x65756c61,
0x00000000,0x00030005,0x00000030,0x00637273,0x00050005,0x00000064,0x74736564,0x756c6156, 0x00000000,0x00030005,0x00000030,0x00637273,0x00050005,0x00000067,0x74736564,0x756c6156,
0x00000065,0x00070005,0x0000007c,0x61666564,0x43746c75,0x6e6e6168,0x4d736c65,0x006b7361, 0x00000065,0x00070005,0x0000007f,0x61666564,0x43746c75,0x6e6e6168,0x4d736c65,0x006b7361,
0x00040005,0x00000094,0x74736564,0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f, 0x00040005,0x00000097,0x74736564,0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f,
0x00050048,0x00000013,0x00000000,0x00000023,0x00000000,0x00050048,0x00000013,0x00000001, 0x00050048,0x00000013,0x00000000,0x00000023,0x00000000,0x00050048,0x00000013,0x00000001,
0x00000023,0x00000008,0x00050048,0x00000013,0x00000002,0x00000023,0x00000010,0x00050048, 0x00000023,0x00000008,0x00050048,0x00000013,0x00000002,0x00000023,0x00000010,0x00050048,
0x00000013,0x00000003,0x00000023,0x00000014,0x00050048,0x00000013,0x00000004,0x00000023, 0x00000013,0x00000003,0x00000023,0x00000014,0x00050048,0x00000013,0x00000004,0x00000023,
...@@ -29,7 +29,7 @@ const uint32_t kImageCopy_frag_00000008[] = { ...@@ -29,7 +29,7 @@ const uint32_t kImageCopy_frag_00000008[] = {
0x00000006,0x00000023,0x00000020,0x00050048,0x00000013,0x00000007,0x00000023,0x00000024, 0x00000006,0x00000023,0x00000020,0x00050048,0x00000013,0x00000007,0x00000023,0x00000024,
0x00050048,0x00000013,0x00000008,0x00000023,0x00000028,0x00050048,0x00000013,0x00000009, 0x00050048,0x00000013,0x00000008,0x00000023,0x00000028,0x00050048,0x00000013,0x00000009,
0x00000023,0x0000002c,0x00030047,0x00000013,0x00000002,0x00040047,0x00000030,0x00000022, 0x00000023,0x0000002c,0x00030047,0x00000013,0x00000002,0x00040047,0x00000030,0x00000022,
0x00000000,0x00040047,0x00000030,0x00000021,0x00000000,0x00040047,0x00000094,0x0000001e, 0x00000000,0x00040047,0x00000030,0x00000021,0x00000000,0x00040047,0x00000097,0x0000001e,
0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006, 0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,
0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008, 0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,
0x00000007,0x00000007,0x00030016,0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a, 0x00000007,0x00000007,0x00030016,0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a,
...@@ -48,83 +48,85 @@ const uint32_t kImageCopy_frag_00000008[] = { ...@@ -48,83 +48,85 @@ const uint32_t kImageCopy_frag_00000008[] = {
0x00040020,0x00000038,0x00000009,0x00000006,0x0004002b,0x00000006,0x0000003c,0x00000005, 0x00040020,0x00000038,0x00000009,0x00000006,0x0004002b,0x00000006,0x0000003c,0x00000005,
0x0004002b,0x00000012,0x00000042,0x00000003,0x00040020,0x00000043,0x00000007,0x0000000a, 0x0004002b,0x00000012,0x00000042,0x00000003,0x00040020,0x00000043,0x00000007,0x0000000a,
0x00040017,0x00000046,0x0000000a,0x00000003,0x0004002b,0x00000006,0x0000004d,0x00000006, 0x00040017,0x00000046,0x0000000a,0x00000003,0x0004002b,0x00000006,0x0000004d,0x00000006,
0x0004002b,0x0000000a,0x00000055,0x00000000,0x00040017,0x00000062,0x00000006,0x00000004, 0x0004002b,0x0000000a,0x00000055,0x00000000,0x0004002b,0x0000000a,0x00000062,0x437f0000,
0x00040020,0x00000063,0x00000007,0x00000062,0x0004002b,0x00000006,0x00000067,0x00000007, 0x00040017,0x00000065,0x00000006,0x00000004,0x00040020,0x00000066,0x00000007,0x00000065,
0x0004002b,0x00000006,0x00000072,0x00000008,0x0004002b,0x00000006,0x0000007d,0x00000009, 0x0004002b,0x00000006,0x0000006a,0x00000007,0x0004002b,0x00000006,0x00000075,0x00000008,
0x0004002b,0x00000012,0x0000008b,0x00000002,0x00040020,0x00000093,0x00000003,0x00000062, 0x0004002b,0x00000006,0x00000080,0x00000009,0x0004002b,0x00000012,0x0000008e,0x00000002,
0x0004003b,0x00000093,0x00000094,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000, 0x00040020,0x00000096,0x00000003,0x00000065,0x0004003b,0x00000096,0x00000097,0x00000003,
0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b, 0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
0x00000008,0x0000001b,0x00000007,0x0004003b,0x0000002c,0x0000002d,0x00000007,0x0004003b, 0x00000008,0x00000009,0x00000007,0x0004003b,0x00000008,0x0000001b,0x00000007,0x0004003b,
0x00000063,0x00000064,0x00000007,0x0004003b,0x00000027,0x0000007c,0x00000007,0x0004003d, 0x0000002c,0x0000002d,0x00000007,0x0004003b,0x00000066,0x00000067,0x00000007,0x0004003b,
0x0000000b,0x0000000f,0x0000000d,0x0007004f,0x0000000e,0x00000010,0x0000000f,0x0000000f, 0x00000027,0x0000007f,0x00000007,0x0004003d,0x0000000b,0x0000000f,0x0000000d,0x0007004f,
0x00000000,0x00000001,0x0004006e,0x00000007,0x00000011,0x00000010,0x00050041,0x00000017, 0x0000000e,0x00000010,0x0000000f,0x0000000f,0x00000000,0x00000001,0x0004006e,0x00000007,
0x00000018,0x00000015,0x00000016,0x0004003d,0x00000007,0x00000019,0x00000018,0x00050082, 0x00000011,0x00000010,0x00050041,0x00000017,0x00000018,0x00000015,0x00000016,0x0004003d,
0x00000007,0x0000001a,0x00000011,0x00000019,0x0003003e,0x00000009,0x0000001a,0x0004003d, 0x00000007,0x00000019,0x00000018,0x00050082,0x00000007,0x0000001a,0x00000011,0x00000019,
0x00000007,0x0000001c,0x00000009,0x0003003e,0x0000001b,0x0000001c,0x00050041,0x0000001e, 0x0003003e,0x00000009,0x0000001a,0x0004003d,0x00000007,0x0000001c,0x00000009,0x0003003e,
0x0000001f,0x00000015,0x0000001d,0x0004003d,0x00000012,0x00000020,0x0000001f,0x000500ab, 0x0000001b,0x0000001c,0x00050041,0x0000001e,0x0000001f,0x00000015,0x0000001d,0x0004003d,
0x00000021,0x00000023,0x00000020,0x00000022,0x000300f7,0x00000025,0x00000000,0x000400fa, 0x00000012,0x00000020,0x0000001f,0x000500ab,0x00000021,0x00000023,0x00000020,0x00000022,
0x00000023,0x00000024,0x00000025,0x000200f8,0x00000024,0x00050041,0x00000027,0x00000028, 0x000300f7,0x00000025,0x00000000,0x000400fa,0x00000023,0x00000024,0x00000025,0x000200f8,
0x0000001b,0x00000026,0x0004003d,0x00000006,0x00000029,0x00000028,0x0004007e,0x00000006, 0x00000024,0x00050041,0x00000027,0x00000028,0x0000001b,0x00000026,0x0004003d,0x00000006,
0x0000002a,0x00000029,0x00050041,0x00000027,0x0000002b,0x0000001b,0x00000026,0x0003003e, 0x00000029,0x00000028,0x0004007e,0x00000006,0x0000002a,0x00000029,0x00050041,0x00000027,
0x0000002b,0x0000002a,0x000200f9,0x00000025,0x000200f8,0x00000025,0x0004003d,0x0000002e, 0x0000002b,0x0000001b,0x00000026,0x0003003e,0x0000002b,0x0000002a,0x000200f9,0x00000025,
0x00000031,0x00000030,0x00050041,0x00000017,0x00000033,0x00000015,0x00000032,0x0004003d, 0x000200f8,0x00000025,0x0004003d,0x0000002e,0x00000031,0x00000030,0x00050041,0x00000017,
0x00000007,0x00000034,0x00000033,0x0004003d,0x00000007,0x00000035,0x0000001b,0x00050080, 0x00000033,0x00000015,0x00000032,0x0004003d,0x00000007,0x00000034,0x00000033,0x0004003d,
0x00000007,0x00000036,0x00000034,0x00000035,0x00050041,0x00000038,0x00000039,0x00000015, 0x00000007,0x00000035,0x0000001b,0x00050080,0x00000007,0x00000036,0x00000034,0x00000035,
0x00000037,0x0004003d,0x00000006,0x0000003a,0x00000039,0x0007005f,0x0000000b,0x0000003b, 0x00050041,0x00000038,0x00000039,0x00000015,0x00000037,0x0004003d,0x00000006,0x0000003a,
0x00000031,0x00000036,0x00000002,0x0000003a,0x0003003e,0x0000002d,0x0000003b,0x00050041, 0x00000039,0x0007005f,0x0000000b,0x0000003b,0x00000031,0x00000036,0x00000002,0x0000003a,
0x0000001e,0x0000003d,0x00000015,0x0000003c,0x0004003d,0x00000012,0x0000003e,0x0000003d, 0x0003003e,0x0000002d,0x0000003b,0x00050041,0x0000001e,0x0000003d,0x00000015,0x0000003c,
0x000500ab,0x00000021,0x0000003f,0x0000003e,0x00000022,0x000300f7,0x00000041,0x00000000, 0x0004003d,0x00000012,0x0000003e,0x0000003d,0x000500ab,0x00000021,0x0000003f,0x0000003e,
0x000400fa,0x0000003f,0x00000040,0x0000004c,0x000200f8,0x00000040,0x00050041,0x00000043, 0x00000022,0x000300f7,0x00000041,0x00000000,0x000400fa,0x0000003f,0x00000040,0x0000004c,
0x00000044,0x0000002d,0x00000042,0x0004003d,0x0000000a,0x00000045,0x00000044,0x0004003d, 0x000200f8,0x00000040,0x00050041,0x00000043,0x00000044,0x0000002d,0x00000042,0x0004003d,
0x0000000b,0x00000047,0x0000002d,0x0008004f,0x00000046,0x00000048,0x00000047,0x00000047, 0x0000000a,0x00000045,0x00000044,0x0004003d,0x0000000b,0x00000047,0x0000002d,0x0008004f,
0x00000000,0x00000001,0x00000002,0x0005008e,0x00000046,0x00000049,0x00000048,0x00000045, 0x00000046,0x00000048,0x00000047,0x00000047,0x00000000,0x00000001,0x00000002,0x0005008e,
0x0004003d,0x0000000b,0x0000004a,0x0000002d,0x0009004f,0x0000000b,0x0000004b,0x0000004a, 0x00000046,0x00000049,0x00000048,0x00000045,0x0004003d,0x0000000b,0x0000004a,0x0000002d,
0x00000049,0x00000004,0x00000005,0x00000006,0x00000003,0x0003003e,0x0000002d,0x0000004b, 0x0009004f,0x0000000b,0x0000004b,0x0000004a,0x00000049,0x00000004,0x00000005,0x00000006,
0x000200f9,0x00000041,0x000200f8,0x0000004c,0x00050041,0x0000001e,0x0000004e,0x00000015, 0x00000003,0x0003003e,0x0000002d,0x0000004b,0x000200f9,0x00000041,0x000200f8,0x0000004c,
0x0000004d,0x0004003d,0x00000012,0x0000004f,0x0000004e,0x000500ab,0x00000021,0x00000050, 0x00050041,0x0000001e,0x0000004e,0x00000015,0x0000004d,0x0004003d,0x00000012,0x0000004f,
0x0000004f,0x00000022,0x000300f7,0x00000052,0x00000000,0x000400fa,0x00000050,0x00000051, 0x0000004e,0x000500ab,0x00000021,0x00000050,0x0000004f,0x00000022,0x000300f7,0x00000052,
0x00000052,0x000200f8,0x00000051,0x00050041,0x00000043,0x00000053,0x0000002d,0x00000042, 0x00000000,0x000400fa,0x00000050,0x00000051,0x00000052,0x000200f8,0x00000051,0x00050041,
0x0004003d,0x0000000a,0x00000054,0x00000053,0x000500ba,0x00000021,0x00000056,0x00000054, 0x00000043,0x00000053,0x0000002d,0x00000042,0x0004003d,0x0000000a,0x00000054,0x00000053,
0x00000055,0x000200f9,0x00000052,0x000200f8,0x00000052,0x000700f5,0x00000021,0x00000057, 0x000500ba,0x00000021,0x00000056,0x00000054,0x00000055,0x000200f9,0x00000052,0x000200f8,
0x00000050,0x0000004c,0x00000056,0x00000051,0x000300f7,0x00000059,0x00000000,0x000400fa, 0x00000052,0x000700f5,0x00000021,0x00000057,0x00000050,0x0000004c,0x00000056,0x00000051,
0x00000057,0x00000058,0x00000059,0x000200f8,0x00000058,0x00050041,0x00000043,0x0000005a, 0x000300f7,0x00000059,0x00000000,0x000400fa,0x00000057,0x00000058,0x00000059,0x000200f8,
0x0000002d,0x00000042,0x0004003d,0x0000000a,0x0000005b,0x0000005a,0x0004003d,0x0000000b, 0x00000058,0x00050041,0x00000043,0x0000005a,0x0000002d,0x00000042,0x0004003d,0x0000000a,
0x0000005c,0x0000002d,0x0008004f,0x00000046,0x0000005d,0x0000005c,0x0000005c,0x00000000, 0x0000005b,0x0000005a,0x0004003d,0x0000000b,0x0000005c,0x0000002d,0x0008004f,0x00000046,
0x00000001,0x00000002,0x00060050,0x00000046,0x0000005e,0x0000005b,0x0000005b,0x0000005b, 0x0000005d,0x0000005c,0x0000005c,0x00000000,0x00000001,0x00000002,0x00060050,0x00000046,
0x00050088,0x00000046,0x0000005f,0x0000005d,0x0000005e,0x0004003d,0x0000000b,0x00000060, 0x0000005e,0x0000005b,0x0000005b,0x0000005b,0x00050088,0x00000046,0x0000005f,0x0000005d,
0x0000002d,0x0009004f,0x0000000b,0x00000061,0x00000060,0x0000005f,0x00000004,0x00000005, 0x0000005e,0x0004003d,0x0000000b,0x00000060,0x0000002d,0x0009004f,0x0000000b,0x00000061,
0x00000006,0x00000003,0x0003003e,0x0000002d,0x00000061,0x000200f9,0x00000059,0x000200f8, 0x00000060,0x0000005f,0x00000004,0x00000005,0x00000006,0x00000003,0x0003003e,0x0000002d,
0x00000059,0x000200f9,0x00000041,0x000200f8,0x00000041,0x0004003d,0x0000000b,0x00000065, 0x00000061,0x000200f9,0x00000059,0x000200f8,0x00000059,0x000200f9,0x00000041,0x000200f8,
0x0000002d,0x0004006e,0x00000062,0x00000066,0x00000065,0x0003003e,0x00000064,0x00000066, 0x00000041,0x0004003d,0x0000000b,0x00000063,0x0000002d,0x0005008e,0x0000000b,0x00000064,
0x00050041,0x0000001e,0x00000068,0x00000015,0x00000067,0x0004003d,0x00000012,0x00000069, 0x00000063,0x00000062,0x0003003e,0x0000002d,0x00000064,0x0004003d,0x0000000b,0x00000068,
0x00000068,0x000500ab,0x00000021,0x0000006a,0x00000069,0x00000022,0x000300f7,0x0000006c, 0x0000002d,0x0004006e,0x00000065,0x00000069,0x00000068,0x0003003e,0x00000067,0x00000069,
0x00000000,0x000400fa,0x0000006a,0x0000006b,0x00000071,0x000200f8,0x0000006b,0x0004003d, 0x00050041,0x0000001e,0x0000006b,0x00000015,0x0000006a,0x0004003d,0x00000012,0x0000006c,
0x00000062,0x0000006d,0x00000064,0x0007004f,0x00000007,0x0000006e,0x0000006d,0x0000006d, 0x0000006b,0x000500ab,0x00000021,0x0000006d,0x0000006c,0x00000022,0x000300f7,0x0000006f,
0x00000000,0x00000003,0x0004003d,0x00000062,0x0000006f,0x00000064,0x0009004f,0x00000062, 0x00000000,0x000400fa,0x0000006d,0x0000006e,0x00000074,0x000200f8,0x0000006e,0x0004003d,
0x00000070,0x0000006f,0x0000006e,0x00000004,0x00000005,0x00000002,0x00000003,0x0003003e, 0x00000065,0x00000070,0x00000067,0x0007004f,0x00000007,0x00000071,0x00000070,0x00000070,
0x00000064,0x00000070,0x000200f9,0x0000006c,0x000200f8,0x00000071,0x00050041,0x0000001e, 0x00000000,0x00000003,0x0004003d,0x00000065,0x00000072,0x00000067,0x0009004f,0x00000065,
0x00000073,0x00000015,0x00000072,0x0004003d,0x00000012,0x00000074,0x00000073,0x000500ab, 0x00000073,0x00000072,0x00000071,0x00000004,0x00000005,0x00000002,0x00000003,0x0003003e,
0x00000021,0x00000075,0x00000074,0x00000022,0x000300f7,0x00000077,0x00000000,0x000400fa, 0x00000067,0x00000073,0x000200f9,0x0000006f,0x000200f8,0x00000074,0x00050041,0x0000001e,
0x00000075,0x00000076,0x0000007b,0x000200f8,0x00000076,0x00050041,0x00000027,0x00000078, 0x00000076,0x00000015,0x00000075,0x0004003d,0x00000012,0x00000077,0x00000076,0x000500ab,
0x00000064,0x00000042,0x0004003d,0x00000006,0x00000079,0x00000078,0x00050041,0x00000027, 0x00000021,0x00000078,0x00000077,0x00000022,0x000300f7,0x0000007a,0x00000000,0x000400fa,
0x0000007a,0x00000064,0x00000022,0x0003003e,0x0000007a,0x00000079,0x000200f9,0x00000077, 0x00000078,0x00000079,0x0000007e,0x000200f8,0x00000079,0x00050041,0x00000027,0x0000007b,
0x000200f8,0x0000007b,0x00050041,0x00000038,0x0000007e,0x00000015,0x0000007d,0x0004003d, 0x00000067,0x00000042,0x0004003d,0x00000006,0x0000007c,0x0000007b,0x00050041,0x00000027,
0x00000006,0x0000007f,0x0000007e,0x0003003e,0x0000007c,0x0000007f,0x0004003d,0x00000006, 0x0000007d,0x00000067,0x00000022,0x0003003e,0x0000007d,0x0000007c,0x000200f9,0x0000007a,
0x00000080,0x0000007c,0x000500c7,0x00000006,0x00000081,0x00000080,0x00000037,0x000500ab, 0x000200f8,0x0000007e,0x00050041,0x00000038,0x00000081,0x00000015,0x00000080,0x0004003d,
0x00000021,0x00000082,0x00000081,0x00000032,0x000300f7,0x00000084,0x00000000,0x000400fa, 0x00000006,0x00000082,0x00000081,0x0003003e,0x0000007f,0x00000082,0x0004003d,0x00000006,
0x00000082,0x00000083,0x00000084,0x000200f8,0x00000083,0x00050041,0x00000027,0x00000085, 0x00000083,0x0000007f,0x000500c7,0x00000006,0x00000084,0x00000083,0x00000037,0x000500ab,
0x00000064,0x00000026,0x0003003e,0x00000085,0x00000032,0x000200f9,0x00000084,0x000200f8, 0x00000021,0x00000085,0x00000084,0x00000032,0x000300f7,0x00000087,0x00000000,0x000400fa,
0x00000084,0x0004003d,0x00000006,0x00000086,0x0000007c,0x000500c7,0x00000006,0x00000087, 0x00000085,0x00000086,0x00000087,0x000200f8,0x00000086,0x00050041,0x00000027,0x00000088,
0x00000086,0x0000001d,0x000500ab,0x00000021,0x00000088,0x00000087,0x00000032,0x000300f7, 0x00000067,0x00000026,0x0003003e,0x00000088,0x00000032,0x000200f9,0x00000087,0x000200f8,
0x0000008a,0x00000000,0x000400fa,0x00000088,0x00000089,0x0000008a,0x000200f8,0x00000089, 0x00000087,0x0004003d,0x00000006,0x00000089,0x0000007f,0x000500c7,0x00000006,0x0000008a,
0x00050041,0x00000027,0x0000008c,0x00000064,0x0000008b,0x0003003e,0x0000008c,0x00000032, 0x00000089,0x0000001d,0x000500ab,0x00000021,0x0000008b,0x0000008a,0x00000032,0x000300f7,
0x000200f9,0x0000008a,0x000200f8,0x0000008a,0x0004003d,0x00000006,0x0000008d,0x0000007c, 0x0000008d,0x00000000,0x000400fa,0x0000008b,0x0000008c,0x0000008d,0x000200f8,0x0000008c,
0x000500c7,0x00000006,0x0000008e,0x0000008d,0x00000072,0x000500ab,0x00000021,0x0000008f, 0x00050041,0x00000027,0x0000008f,0x00000067,0x0000008e,0x0003003e,0x0000008f,0x00000032,
0x0000008e,0x00000032,0x000300f7,0x00000091,0x00000000,0x000400fa,0x0000008f,0x00000090, 0x000200f9,0x0000008d,0x000200f8,0x0000008d,0x0004003d,0x00000006,0x00000090,0x0000007f,
0x00000091,0x000200f8,0x00000090,0x00050041,0x00000027,0x00000092,0x00000064,0x00000042, 0x000500c7,0x00000006,0x00000091,0x00000090,0x00000075,0x000500ab,0x00000021,0x00000092,
0x0003003e,0x00000092,0x00000016,0x000200f9,0x00000091,0x000200f8,0x00000091,0x000200f9, 0x00000091,0x00000032,0x000300f7,0x00000094,0x00000000,0x000400fa,0x00000092,0x00000093,
0x00000077,0x000200f8,0x00000077,0x000200f9,0x0000006c,0x000200f8,0x0000006c,0x0004003d, 0x00000094,0x000200f8,0x00000093,0x00050041,0x00000027,0x00000095,0x00000067,0x00000042,
0x00000062,0x00000095,0x00000064,0x0003003e,0x00000094,0x00000095,0x000100fd,0x00010038 0x0003003e,0x00000095,0x00000016,0x000200f9,0x00000094,0x000200f8,0x00000094,0x000200f9,
0x0000007a,0x000200f8,0x0000007a,0x000200f9,0x0000006f,0x000200f8,0x0000006f,0x0004003d,
0x00000065,0x00000098,0x00000067,0x0003003e,0x00000097,0x00000098,0x000100fd,0x00010038
}; };
// Generated from: // Generated from:
...@@ -174,6 +176,8 @@ const uint32_t kImageCopy_frag_00000008[] = { ...@@ -174,6 +176,8 @@ const uint32_t kImageCopy_frag_00000008[] = {
// srcValue . rgb /= srcValue . a; // srcValue . rgb /= srcValue . a;
// } // }
// //
// srcValue *= 255.0;
//
// ivec4 destValue = ivec4(srcValue); // ivec4 destValue = ivec4(srcValue);
// //
// if(params . destHasLuminance) // if(params . destHasLuminance)
......
// 7.12.3226 // 7.12.3226
#pragma once #pragma once
const uint32_t kImageCopy_frag_00000009[] = { const uint32_t kImageCopy_frag_00000009[] = {
0x07230203,0x00010000,0x00080007,0x0000009d,0x00000000,0x00020011,0x00000001,0x0006000b, 0x07230203,0x00010000,0x00080007,0x000000a0,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x0000009b,0x00030010, 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x0000009e,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x000b0004,0x455f4c47,0x735f5458, 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x000b0004,0x455f4c47,0x735f5458,
0x6c706d61,0x656c7265,0x745f7373,0x75747865,0x665f6572,0x74636e75,0x736e6f69,0x00000000, 0x6c706d61,0x656c7265,0x745f7373,0x75747865,0x665f6572,0x74636e75,0x736e6f69,0x00000000,
0x00040005,0x00000004,0x6e69616d,0x00000000,0x00070005,0x00000009,0x74736564,0x49627553, 0x00040005,0x00000004,0x6e69616d,0x00000000,0x00070005,0x00000009,0x74736564,0x49627553,
...@@ -19,9 +19,9 @@ const uint32_t kImageCopy_frag_00000009[] = { ...@@ -19,9 +19,9 @@ const uint32_t kImageCopy_frag_00000009[] = {
0x00090006,0x00000013,0x00000009,0x74736564,0x61666544,0x43746c75,0x6e6e6168,0x4d736c65, 0x00090006,0x00000013,0x00000009,0x74736564,0x61666544,0x43746c75,0x6e6e6168,0x4d736c65,
0x006b7361,0x00040005,0x00000015,0x61726170,0x0000736d,0x00070005,0x0000001b,0x53637273, 0x006b7361,0x00040005,0x00000015,0x61726170,0x0000736d,0x00070005,0x0000001b,0x53637273,
0x6d496275,0x43656761,0x64726f6f,0x00000073,0x00050005,0x0000002d,0x56637273,0x65756c61, 0x6d496275,0x43656761,0x64726f6f,0x00000073,0x00050005,0x0000002d,0x56637273,0x65756c61,
0x00000000,0x00030005,0x00000030,0x00637273,0x00050005,0x0000006b,0x74736564,0x756c6156, 0x00000000,0x00030005,0x00000030,0x00637273,0x00050005,0x0000006e,0x74736564,0x756c6156,
0x00000065,0x00070005,0x00000083,0x61666564,0x43746c75,0x6e6e6168,0x4d736c65,0x006b7361, 0x00000065,0x00070005,0x00000086,0x61666564,0x43746c75,0x6e6e6168,0x4d736c65,0x006b7361,
0x00040005,0x0000009b,0x74736564,0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f, 0x00040005,0x0000009e,0x74736564,0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f,
0x00050048,0x00000013,0x00000000,0x00000023,0x00000000,0x00050048,0x00000013,0x00000001, 0x00050048,0x00000013,0x00000000,0x00000023,0x00000000,0x00050048,0x00000013,0x00000001,
0x00000023,0x00000008,0x00050048,0x00000013,0x00000002,0x00000023,0x00000010,0x00050048, 0x00000023,0x00000008,0x00050048,0x00000013,0x00000002,0x00000023,0x00000010,0x00050048,
0x00000013,0x00000003,0x00000023,0x00000014,0x00050048,0x00000013,0x00000004,0x00000023, 0x00000013,0x00000003,0x00000023,0x00000014,0x00050048,0x00000013,0x00000004,0x00000023,
...@@ -29,7 +29,7 @@ const uint32_t kImageCopy_frag_00000009[] = { ...@@ -29,7 +29,7 @@ const uint32_t kImageCopy_frag_00000009[] = {
0x00000006,0x00000023,0x00000020,0x00050048,0x00000013,0x00000007,0x00000023,0x00000024, 0x00000006,0x00000023,0x00000020,0x00050048,0x00000013,0x00000007,0x00000023,0x00000024,
0x00050048,0x00000013,0x00000008,0x00000023,0x00000028,0x00050048,0x00000013,0x00000009, 0x00050048,0x00000013,0x00000008,0x00000023,0x00000028,0x00050048,0x00000013,0x00000009,
0x00000023,0x0000002c,0x00030047,0x00000013,0x00000002,0x00040047,0x00000030,0x00000022, 0x00000023,0x0000002c,0x00030047,0x00000013,0x00000002,0x00040047,0x00000030,0x00000022,
0x00000000,0x00040047,0x00000030,0x00000021,0x00000000,0x00040047,0x0000009b,0x0000001e, 0x00000000,0x00040047,0x00000030,0x00000021,0x00000000,0x00040047,0x0000009e,0x0000001e,
0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006, 0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,
0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008, 0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,
0x00000007,0x00000007,0x00030016,0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a, 0x00000007,0x00000007,0x00030016,0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a,
...@@ -49,86 +49,88 @@ const uint32_t kImageCopy_frag_00000009[] = { ...@@ -49,86 +49,88 @@ const uint32_t kImageCopy_frag_00000009[] = {
0x0004002b,0x00000006,0x0000003f,0x00000002,0x0004002b,0x00000006,0x00000043,0x00000005, 0x0004002b,0x00000006,0x0000003f,0x00000002,0x0004002b,0x00000006,0x00000043,0x00000005,
0x0004002b,0x00000012,0x00000049,0x00000003,0x00040020,0x0000004a,0x00000007,0x0000000a, 0x0004002b,0x00000012,0x00000049,0x00000003,0x00040020,0x0000004a,0x00000007,0x0000000a,
0x00040017,0x0000004d,0x0000000a,0x00000003,0x0004002b,0x00000006,0x00000054,0x00000006, 0x00040017,0x0000004d,0x0000000a,0x00000003,0x0004002b,0x00000006,0x00000054,0x00000006,
0x0004002b,0x0000000a,0x0000005c,0x00000000,0x00040017,0x00000069,0x00000006,0x00000004, 0x0004002b,0x0000000a,0x0000005c,0x00000000,0x0004002b,0x0000000a,0x00000069,0x437f0000,
0x00040020,0x0000006a,0x00000007,0x00000069,0x0004002b,0x00000006,0x0000006e,0x00000007, 0x00040017,0x0000006c,0x00000006,0x00000004,0x00040020,0x0000006d,0x00000007,0x0000006c,
0x0004002b,0x00000006,0x00000079,0x00000008,0x0004002b,0x00000006,0x00000084,0x00000009, 0x0004002b,0x00000006,0x00000071,0x00000007,0x0004002b,0x00000006,0x0000007c,0x00000008,
0x0004002b,0x00000012,0x00000092,0x00000002,0x00040020,0x0000009a,0x00000003,0x00000069, 0x0004002b,0x00000006,0x00000087,0x00000009,0x0004002b,0x00000012,0x00000095,0x00000002,
0x0004003b,0x0000009a,0x0000009b,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000, 0x00040020,0x0000009d,0x00000003,0x0000006c,0x0004003b,0x0000009d,0x0000009e,0x00000003,
0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b, 0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
0x00000008,0x0000001b,0x00000007,0x0004003b,0x0000002c,0x0000002d,0x00000007,0x0004003b, 0x00000008,0x00000009,0x00000007,0x0004003b,0x00000008,0x0000001b,0x00000007,0x0004003b,
0x0000006a,0x0000006b,0x00000007,0x0004003b,0x00000027,0x00000083,0x00000007,0x0004003d, 0x0000002c,0x0000002d,0x00000007,0x0004003b,0x0000006d,0x0000006e,0x00000007,0x0004003b,
0x0000000b,0x0000000f,0x0000000d,0x0007004f,0x0000000e,0x00000010,0x0000000f,0x0000000f, 0x00000027,0x00000086,0x00000007,0x0004003d,0x0000000b,0x0000000f,0x0000000d,0x0007004f,
0x00000000,0x00000001,0x0004006e,0x00000007,0x00000011,0x00000010,0x00050041,0x00000017, 0x0000000e,0x00000010,0x0000000f,0x0000000f,0x00000000,0x00000001,0x0004006e,0x00000007,
0x00000018,0x00000015,0x00000016,0x0004003d,0x00000007,0x00000019,0x00000018,0x00050082, 0x00000011,0x00000010,0x00050041,0x00000017,0x00000018,0x00000015,0x00000016,0x0004003d,
0x00000007,0x0000001a,0x00000011,0x00000019,0x0003003e,0x00000009,0x0000001a,0x0004003d, 0x00000007,0x00000019,0x00000018,0x00050082,0x00000007,0x0000001a,0x00000011,0x00000019,
0x00000007,0x0000001c,0x00000009,0x0003003e,0x0000001b,0x0000001c,0x00050041,0x0000001e, 0x0003003e,0x00000009,0x0000001a,0x0004003d,0x00000007,0x0000001c,0x00000009,0x0003003e,
0x0000001f,0x00000015,0x0000001d,0x0004003d,0x00000012,0x00000020,0x0000001f,0x000500ab, 0x0000001b,0x0000001c,0x00050041,0x0000001e,0x0000001f,0x00000015,0x0000001d,0x0004003d,
0x00000021,0x00000023,0x00000020,0x00000022,0x000300f7,0x00000025,0x00000000,0x000400fa, 0x00000012,0x00000020,0x0000001f,0x000500ab,0x00000021,0x00000023,0x00000020,0x00000022,
0x00000023,0x00000024,0x00000025,0x000200f8,0x00000024,0x00050041,0x00000027,0x00000028, 0x000300f7,0x00000025,0x00000000,0x000400fa,0x00000023,0x00000024,0x00000025,0x000200f8,
0x0000001b,0x00000026,0x0004003d,0x00000006,0x00000029,0x00000028,0x0004007e,0x00000006, 0x00000024,0x00050041,0x00000027,0x00000028,0x0000001b,0x00000026,0x0004003d,0x00000006,
0x0000002a,0x00000029,0x00050041,0x00000027,0x0000002b,0x0000001b,0x00000026,0x0003003e, 0x00000029,0x00000028,0x0004007e,0x00000006,0x0000002a,0x00000029,0x00050041,0x00000027,
0x0000002b,0x0000002a,0x000200f9,0x00000025,0x000200f8,0x00000025,0x0004003d,0x0000002e, 0x0000002b,0x0000001b,0x00000026,0x0003003e,0x0000002b,0x0000002a,0x000200f9,0x00000025,
0x00000031,0x00000030,0x00050041,0x00000017,0x00000033,0x00000015,0x00000032,0x0004003d, 0x000200f8,0x00000025,0x0004003d,0x0000002e,0x00000031,0x00000030,0x00050041,0x00000017,
0x00000007,0x00000034,0x00000033,0x0004003d,0x00000007,0x00000035,0x0000001b,0x00050080, 0x00000033,0x00000015,0x00000032,0x0004003d,0x00000007,0x00000034,0x00000033,0x0004003d,
0x00000007,0x00000036,0x00000034,0x00000035,0x00050041,0x00000038,0x00000039,0x00000015, 0x00000007,0x00000035,0x0000001b,0x00050080,0x00000007,0x00000036,0x00000034,0x00000035,
0x00000037,0x0004003d,0x00000006,0x0000003a,0x00000039,0x00050051,0x00000006,0x0000003c, 0x00050041,0x00000038,0x00000039,0x00000015,0x00000037,0x0004003d,0x00000006,0x0000003a,
0x00000036,0x00000000,0x00050051,0x00000006,0x0000003d,0x00000036,0x00000001,0x00060050, 0x00000039,0x00050051,0x00000006,0x0000003c,0x00000036,0x00000000,0x00050051,0x00000006,
0x0000003b,0x0000003e,0x0000003c,0x0000003d,0x0000003a,0x00050041,0x00000038,0x00000040, 0x0000003d,0x00000036,0x00000001,0x00060050,0x0000003b,0x0000003e,0x0000003c,0x0000003d,
0x00000015,0x0000003f,0x0004003d,0x00000006,0x00000041,0x00000040,0x0007005f,0x0000000b, 0x0000003a,0x00050041,0x00000038,0x00000040,0x00000015,0x0000003f,0x0004003d,0x00000006,
0x00000042,0x00000031,0x0000003e,0x00000002,0x00000041,0x0003003e,0x0000002d,0x00000042, 0x00000041,0x00000040,0x0007005f,0x0000000b,0x00000042,0x00000031,0x0000003e,0x00000002,
0x00050041,0x0000001e,0x00000044,0x00000015,0x00000043,0x0004003d,0x00000012,0x00000045, 0x00000041,0x0003003e,0x0000002d,0x00000042,0x00050041,0x0000001e,0x00000044,0x00000015,
0x00000044,0x000500ab,0x00000021,0x00000046,0x00000045,0x00000022,0x000300f7,0x00000048, 0x00000043,0x0004003d,0x00000012,0x00000045,0x00000044,0x000500ab,0x00000021,0x00000046,
0x00000000,0x000400fa,0x00000046,0x00000047,0x00000053,0x000200f8,0x00000047,0x00050041, 0x00000045,0x00000022,0x000300f7,0x00000048,0x00000000,0x000400fa,0x00000046,0x00000047,
0x0000004a,0x0000004b,0x0000002d,0x00000049,0x0004003d,0x0000000a,0x0000004c,0x0000004b, 0x00000053,0x000200f8,0x00000047,0x00050041,0x0000004a,0x0000004b,0x0000002d,0x00000049,
0x0004003d,0x0000000b,0x0000004e,0x0000002d,0x0008004f,0x0000004d,0x0000004f,0x0000004e, 0x0004003d,0x0000000a,0x0000004c,0x0000004b,0x0004003d,0x0000000b,0x0000004e,0x0000002d,
0x0000004e,0x00000000,0x00000001,0x00000002,0x0005008e,0x0000004d,0x00000050,0x0000004f, 0x0008004f,0x0000004d,0x0000004f,0x0000004e,0x0000004e,0x00000000,0x00000001,0x00000002,
0x0000004c,0x0004003d,0x0000000b,0x00000051,0x0000002d,0x0009004f,0x0000000b,0x00000052, 0x0005008e,0x0000004d,0x00000050,0x0000004f,0x0000004c,0x0004003d,0x0000000b,0x00000051,
0x00000051,0x00000050,0x00000004,0x00000005,0x00000006,0x00000003,0x0003003e,0x0000002d, 0x0000002d,0x0009004f,0x0000000b,0x00000052,0x00000051,0x00000050,0x00000004,0x00000005,
0x00000052,0x000200f9,0x00000048,0x000200f8,0x00000053,0x00050041,0x0000001e,0x00000055, 0x00000006,0x00000003,0x0003003e,0x0000002d,0x00000052,0x000200f9,0x00000048,0x000200f8,
0x00000015,0x00000054,0x0004003d,0x00000012,0x00000056,0x00000055,0x000500ab,0x00000021, 0x00000053,0x00050041,0x0000001e,0x00000055,0x00000015,0x00000054,0x0004003d,0x00000012,
0x00000057,0x00000056,0x00000022,0x000300f7,0x00000059,0x00000000,0x000400fa,0x00000057, 0x00000056,0x00000055,0x000500ab,0x00000021,0x00000057,0x00000056,0x00000022,0x000300f7,
0x00000058,0x00000059,0x000200f8,0x00000058,0x00050041,0x0000004a,0x0000005a,0x0000002d, 0x00000059,0x00000000,0x000400fa,0x00000057,0x00000058,0x00000059,0x000200f8,0x00000058,
0x00000049,0x0004003d,0x0000000a,0x0000005b,0x0000005a,0x000500ba,0x00000021,0x0000005d, 0x00050041,0x0000004a,0x0000005a,0x0000002d,0x00000049,0x0004003d,0x0000000a,0x0000005b,
0x0000005b,0x0000005c,0x000200f9,0x00000059,0x000200f8,0x00000059,0x000700f5,0x00000021, 0x0000005a,0x000500ba,0x00000021,0x0000005d,0x0000005b,0x0000005c,0x000200f9,0x00000059,
0x0000005e,0x00000057,0x00000053,0x0000005d,0x00000058,0x000300f7,0x00000060,0x00000000, 0x000200f8,0x00000059,0x000700f5,0x00000021,0x0000005e,0x00000057,0x00000053,0x0000005d,
0x000400fa,0x0000005e,0x0000005f,0x00000060,0x000200f8,0x0000005f,0x00050041,0x0000004a, 0x00000058,0x000300f7,0x00000060,0x00000000,0x000400fa,0x0000005e,0x0000005f,0x00000060,
0x00000061,0x0000002d,0x00000049,0x0004003d,0x0000000a,0x00000062,0x00000061,0x0004003d, 0x000200f8,0x0000005f,0x00050041,0x0000004a,0x00000061,0x0000002d,0x00000049,0x0004003d,
0x0000000b,0x00000063,0x0000002d,0x0008004f,0x0000004d,0x00000064,0x00000063,0x00000063, 0x0000000a,0x00000062,0x00000061,0x0004003d,0x0000000b,0x00000063,0x0000002d,0x0008004f,
0x00000000,0x00000001,0x00000002,0x00060050,0x0000004d,0x00000065,0x00000062,0x00000062, 0x0000004d,0x00000064,0x00000063,0x00000063,0x00000000,0x00000001,0x00000002,0x00060050,
0x00000062,0x00050088,0x0000004d,0x00000066,0x00000064,0x00000065,0x0004003d,0x0000000b, 0x0000004d,0x00000065,0x00000062,0x00000062,0x00000062,0x00050088,0x0000004d,0x00000066,
0x00000067,0x0000002d,0x0009004f,0x0000000b,0x00000068,0x00000067,0x00000066,0x00000004, 0x00000064,0x00000065,0x0004003d,0x0000000b,0x00000067,0x0000002d,0x0009004f,0x0000000b,
0x00000005,0x00000006,0x00000003,0x0003003e,0x0000002d,0x00000068,0x000200f9,0x00000060, 0x00000068,0x00000067,0x00000066,0x00000004,0x00000005,0x00000006,0x00000003,0x0003003e,
0x000200f8,0x00000060,0x000200f9,0x00000048,0x000200f8,0x00000048,0x0004003d,0x0000000b, 0x0000002d,0x00000068,0x000200f9,0x00000060,0x000200f8,0x00000060,0x000200f9,0x00000048,
0x0000006c,0x0000002d,0x0004006e,0x00000069,0x0000006d,0x0000006c,0x0003003e,0x0000006b, 0x000200f8,0x00000048,0x0004003d,0x0000000b,0x0000006a,0x0000002d,0x0005008e,0x0000000b,
0x0000006d,0x00050041,0x0000001e,0x0000006f,0x00000015,0x0000006e,0x0004003d,0x00000012, 0x0000006b,0x0000006a,0x00000069,0x0003003e,0x0000002d,0x0000006b,0x0004003d,0x0000000b,
0x00000070,0x0000006f,0x000500ab,0x00000021,0x00000071,0x00000070,0x00000022,0x000300f7, 0x0000006f,0x0000002d,0x0004006e,0x0000006c,0x00000070,0x0000006f,0x0003003e,0x0000006e,
0x00000073,0x00000000,0x000400fa,0x00000071,0x00000072,0x00000078,0x000200f8,0x00000072, 0x00000070,0x00050041,0x0000001e,0x00000072,0x00000015,0x00000071,0x0004003d,0x00000012,
0x0004003d,0x00000069,0x00000074,0x0000006b,0x0007004f,0x00000007,0x00000075,0x00000074, 0x00000073,0x00000072,0x000500ab,0x00000021,0x00000074,0x00000073,0x00000022,0x000300f7,
0x00000074,0x00000000,0x00000003,0x0004003d,0x00000069,0x00000076,0x0000006b,0x0009004f, 0x00000076,0x00000000,0x000400fa,0x00000074,0x00000075,0x0000007b,0x000200f8,0x00000075,
0x00000069,0x00000077,0x00000076,0x00000075,0x00000004,0x00000005,0x00000002,0x00000003, 0x0004003d,0x0000006c,0x00000077,0x0000006e,0x0007004f,0x00000007,0x00000078,0x00000077,
0x0003003e,0x0000006b,0x00000077,0x000200f9,0x00000073,0x000200f8,0x00000078,0x00050041, 0x00000077,0x00000000,0x00000003,0x0004003d,0x0000006c,0x00000079,0x0000006e,0x0009004f,
0x0000001e,0x0000007a,0x00000015,0x00000079,0x0004003d,0x00000012,0x0000007b,0x0000007a, 0x0000006c,0x0000007a,0x00000079,0x00000078,0x00000004,0x00000005,0x00000002,0x00000003,
0x000500ab,0x00000021,0x0000007c,0x0000007b,0x00000022,0x000300f7,0x0000007e,0x00000000, 0x0003003e,0x0000006e,0x0000007a,0x000200f9,0x00000076,0x000200f8,0x0000007b,0x00050041,
0x000400fa,0x0000007c,0x0000007d,0x00000082,0x000200f8,0x0000007d,0x00050041,0x00000027, 0x0000001e,0x0000007d,0x00000015,0x0000007c,0x0004003d,0x00000012,0x0000007e,0x0000007d,
0x0000007f,0x0000006b,0x00000049,0x0004003d,0x00000006,0x00000080,0x0000007f,0x00050041, 0x000500ab,0x00000021,0x0000007f,0x0000007e,0x00000022,0x000300f7,0x00000081,0x00000000,
0x00000027,0x00000081,0x0000006b,0x00000022,0x0003003e,0x00000081,0x00000080,0x000200f9, 0x000400fa,0x0000007f,0x00000080,0x00000085,0x000200f8,0x00000080,0x00050041,0x00000027,
0x0000007e,0x000200f8,0x00000082,0x00050041,0x00000038,0x00000085,0x00000015,0x00000084, 0x00000082,0x0000006e,0x00000049,0x0004003d,0x00000006,0x00000083,0x00000082,0x00050041,
0x0004003d,0x00000006,0x00000086,0x00000085,0x0003003e,0x00000083,0x00000086,0x0004003d, 0x00000027,0x00000084,0x0000006e,0x00000022,0x0003003e,0x00000084,0x00000083,0x000200f9,
0x00000006,0x00000087,0x00000083,0x000500c7,0x00000006,0x00000088,0x00000087,0x0000003f, 0x00000081,0x000200f8,0x00000085,0x00050041,0x00000038,0x00000088,0x00000015,0x00000087,
0x000500ab,0x00000021,0x00000089,0x00000088,0x00000032,0x000300f7,0x0000008b,0x00000000, 0x0004003d,0x00000006,0x00000089,0x00000088,0x0003003e,0x00000086,0x00000089,0x0004003d,
0x000400fa,0x00000089,0x0000008a,0x0000008b,0x000200f8,0x0000008a,0x00050041,0x00000027, 0x00000006,0x0000008a,0x00000086,0x000500c7,0x00000006,0x0000008b,0x0000008a,0x0000003f,
0x0000008c,0x0000006b,0x00000026,0x0003003e,0x0000008c,0x00000032,0x000200f9,0x0000008b, 0x000500ab,0x00000021,0x0000008c,0x0000008b,0x00000032,0x000300f7,0x0000008e,0x00000000,
0x000200f8,0x0000008b,0x0004003d,0x00000006,0x0000008d,0x00000083,0x000500c7,0x00000006, 0x000400fa,0x0000008c,0x0000008d,0x0000008e,0x000200f8,0x0000008d,0x00050041,0x00000027,
0x0000008e,0x0000008d,0x0000001d,0x000500ab,0x00000021,0x0000008f,0x0000008e,0x00000032, 0x0000008f,0x0000006e,0x00000026,0x0003003e,0x0000008f,0x00000032,0x000200f9,0x0000008e,
0x000300f7,0x00000091,0x00000000,0x000400fa,0x0000008f,0x00000090,0x00000091,0x000200f8, 0x000200f8,0x0000008e,0x0004003d,0x00000006,0x00000090,0x00000086,0x000500c7,0x00000006,
0x00000090,0x00050041,0x00000027,0x00000093,0x0000006b,0x00000092,0x0003003e,0x00000093, 0x00000091,0x00000090,0x0000001d,0x000500ab,0x00000021,0x00000092,0x00000091,0x00000032,
0x00000032,0x000200f9,0x00000091,0x000200f8,0x00000091,0x0004003d,0x00000006,0x00000094, 0x000300f7,0x00000094,0x00000000,0x000400fa,0x00000092,0x00000093,0x00000094,0x000200f8,
0x00000083,0x000500c7,0x00000006,0x00000095,0x00000094,0x00000079,0x000500ab,0x00000021, 0x00000093,0x00050041,0x00000027,0x00000096,0x0000006e,0x00000095,0x0003003e,0x00000096,
0x00000096,0x00000095,0x00000032,0x000300f7,0x00000098,0x00000000,0x000400fa,0x00000096, 0x00000032,0x000200f9,0x00000094,0x000200f8,0x00000094,0x0004003d,0x00000006,0x00000097,
0x00000097,0x00000098,0x000200f8,0x00000097,0x00050041,0x00000027,0x00000099,0x0000006b, 0x00000086,0x000500c7,0x00000006,0x00000098,0x00000097,0x0000007c,0x000500ab,0x00000021,
0x00000049,0x0003003e,0x00000099,0x00000016,0x000200f9,0x00000098,0x000200f8,0x00000098, 0x00000099,0x00000098,0x00000032,0x000300f7,0x0000009b,0x00000000,0x000400fa,0x00000099,
0x000200f9,0x0000007e,0x000200f8,0x0000007e,0x000200f9,0x00000073,0x000200f8,0x00000073, 0x0000009a,0x0000009b,0x000200f8,0x0000009a,0x00050041,0x00000027,0x0000009c,0x0000006e,
0x0004003d,0x00000069,0x0000009c,0x0000006b,0x0003003e,0x0000009b,0x0000009c,0x000100fd, 0x00000049,0x0003003e,0x0000009c,0x00000016,0x000200f9,0x0000009b,0x000200f8,0x0000009b,
0x000200f9,0x00000081,0x000200f8,0x00000081,0x000200f9,0x00000076,0x000200f8,0x00000076,
0x0004003d,0x0000006c,0x0000009f,0x0000006e,0x0003003e,0x0000009e,0x0000009f,0x000100fd,
0x00010038 0x00010038
}; };
...@@ -179,6 +181,8 @@ const uint32_t kImageCopy_frag_00000009[] = { ...@@ -179,6 +181,8 @@ const uint32_t kImageCopy_frag_00000009[] = {
// srcValue . rgb /= srcValue . a; // srcValue . rgb /= srcValue . a;
// } // }
// //
// srcValue *= 255.0;
//
// ivec4 destValue = ivec4(srcValue); // ivec4 destValue = ivec4(srcValue);
// //
// if(params . destHasLuminance) // if(params . destHasLuminance)
......
// 7.12.3226 // 7.12.3226
#pragma once #pragma once
const uint32_t kImageCopy_frag_00000010[] = { const uint32_t kImageCopy_frag_00000010[] = {
0x07230203,0x00010000,0x00080007,0x00000098,0x00000000,0x00020011,0x00000001,0x0006000b, 0x07230203,0x00010000,0x00080007,0x0000009b,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00000096,0x00030010, 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00000099,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x000b0004,0x455f4c47,0x735f5458, 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x000b0004,0x455f4c47,0x735f5458,
0x6c706d61,0x656c7265,0x745f7373,0x75747865,0x665f6572,0x74636e75,0x736e6f69,0x00000000, 0x6c706d61,0x656c7265,0x745f7373,0x75747865,0x665f6572,0x74636e75,0x736e6f69,0x00000000,
0x00040005,0x00000004,0x6e69616d,0x00000000,0x00070005,0x00000009,0x74736564,0x49627553, 0x00040005,0x00000004,0x6e69616d,0x00000000,0x00070005,0x00000009,0x74736564,0x49627553,
...@@ -19,9 +19,9 @@ const uint32_t kImageCopy_frag_00000010[] = { ...@@ -19,9 +19,9 @@ const uint32_t kImageCopy_frag_00000010[] = {
0x00090006,0x00000013,0x00000009,0x74736564,0x61666544,0x43746c75,0x6e6e6168,0x4d736c65, 0x00090006,0x00000013,0x00000009,0x74736564,0x61666544,0x43746c75,0x6e6e6168,0x4d736c65,
0x006b7361,0x00040005,0x00000015,0x61726170,0x0000736d,0x00070005,0x0000001b,0x53637273, 0x006b7361,0x00040005,0x00000015,0x61726170,0x0000736d,0x00070005,0x0000001b,0x53637273,
0x6d496275,0x43656761,0x64726f6f,0x00000073,0x00050005,0x0000002d,0x56637273,0x65756c61, 0x6d496275,0x43656761,0x64726f6f,0x00000073,0x00050005,0x0000002d,0x56637273,0x65756c61,
0x00000000,0x00030005,0x00000030,0x00637273,0x00050005,0x00000064,0x74736564,0x756c6156, 0x00000000,0x00030005,0x00000030,0x00637273,0x00050005,0x00000067,0x74736564,0x756c6156,
0x00000065,0x00070005,0x0000007e,0x61666564,0x43746c75,0x6e6e6168,0x4d736c65,0x006b7361, 0x00000065,0x00070005,0x00000081,0x61666564,0x43746c75,0x6e6e6168,0x4d736c65,0x006b7361,
0x00040005,0x00000096,0x74736564,0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f, 0x00040005,0x00000099,0x74736564,0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f,
0x00050048,0x00000013,0x00000000,0x00000023,0x00000000,0x00050048,0x00000013,0x00000001, 0x00050048,0x00000013,0x00000000,0x00000023,0x00000000,0x00050048,0x00000013,0x00000001,
0x00000023,0x00000008,0x00050048,0x00000013,0x00000002,0x00000023,0x00000010,0x00050048, 0x00000023,0x00000008,0x00050048,0x00000013,0x00000002,0x00000023,0x00000010,0x00050048,
0x00000013,0x00000003,0x00000023,0x00000014,0x00050048,0x00000013,0x00000004,0x00000023, 0x00000013,0x00000003,0x00000023,0x00000014,0x00050048,0x00000013,0x00000004,0x00000023,
...@@ -29,7 +29,7 @@ const uint32_t kImageCopy_frag_00000010[] = { ...@@ -29,7 +29,7 @@ const uint32_t kImageCopy_frag_00000010[] = {
0x00000006,0x00000023,0x00000020,0x00050048,0x00000013,0x00000007,0x00000023,0x00000024, 0x00000006,0x00000023,0x00000020,0x00050048,0x00000013,0x00000007,0x00000023,0x00000024,
0x00050048,0x00000013,0x00000008,0x00000023,0x00000028,0x00050048,0x00000013,0x00000009, 0x00050048,0x00000013,0x00000008,0x00000023,0x00000028,0x00050048,0x00000013,0x00000009,
0x00000023,0x0000002c,0x00030047,0x00000013,0x00000002,0x00040047,0x00000030,0x00000022, 0x00000023,0x0000002c,0x00030047,0x00000013,0x00000002,0x00040047,0x00000030,0x00000022,
0x00000000,0x00040047,0x00000030,0x00000021,0x00000000,0x00040047,0x00000096,0x0000001e, 0x00000000,0x00040047,0x00000030,0x00000021,0x00000000,0x00040047,0x00000099,0x0000001e,
0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006, 0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,
0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008, 0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,
0x00000007,0x00000007,0x00030016,0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a, 0x00000007,0x00000007,0x00030016,0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a,
...@@ -48,84 +48,86 @@ const uint32_t kImageCopy_frag_00000010[] = { ...@@ -48,84 +48,86 @@ const uint32_t kImageCopy_frag_00000010[] = {
0x00040020,0x00000038,0x00000009,0x00000006,0x0004002b,0x00000006,0x0000003c,0x00000005, 0x00040020,0x00000038,0x00000009,0x00000006,0x0004002b,0x00000006,0x0000003c,0x00000005,
0x0004002b,0x00000012,0x00000042,0x00000003,0x00040020,0x00000043,0x00000007,0x0000000a, 0x0004002b,0x00000012,0x00000042,0x00000003,0x00040020,0x00000043,0x00000007,0x0000000a,
0x00040017,0x00000046,0x0000000a,0x00000003,0x0004002b,0x00000006,0x0000004d,0x00000006, 0x00040017,0x00000046,0x0000000a,0x00000003,0x0004002b,0x00000006,0x0000004d,0x00000006,
0x0004002b,0x0000000a,0x00000055,0x00000000,0x00040017,0x00000062,0x00000012,0x00000004, 0x0004002b,0x0000000a,0x00000055,0x00000000,0x0004002b,0x0000000a,0x00000062,0x437f0000,
0x00040020,0x00000063,0x00000007,0x00000062,0x0004002b,0x00000006,0x00000067,0x00000007, 0x00040017,0x00000065,0x00000012,0x00000004,0x00040020,0x00000066,0x00000007,0x00000065,
0x00040017,0x0000006d,0x00000012,0x00000002,0x0004002b,0x00000006,0x00000073,0x00000008, 0x0004002b,0x00000006,0x0000006a,0x00000007,0x00040017,0x00000070,0x00000012,0x00000002,
0x00040020,0x00000079,0x00000007,0x00000012,0x0004002b,0x00000006,0x0000007f,0x00000009, 0x0004002b,0x00000006,0x00000076,0x00000008,0x00040020,0x0000007c,0x00000007,0x00000012,
0x0004002b,0x00000012,0x0000008d,0x00000002,0x00040020,0x00000095,0x00000003,0x00000062, 0x0004002b,0x00000006,0x00000082,0x00000009,0x0004002b,0x00000012,0x00000090,0x00000002,
0x0004003b,0x00000095,0x00000096,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000, 0x00040020,0x00000098,0x00000003,0x00000065,0x0004003b,0x00000098,0x00000099,0x00000003,
0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b, 0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
0x00000008,0x0000001b,0x00000007,0x0004003b,0x0000002c,0x0000002d,0x00000007,0x0004003b, 0x00000008,0x00000009,0x00000007,0x0004003b,0x00000008,0x0000001b,0x00000007,0x0004003b,
0x00000063,0x00000064,0x00000007,0x0004003b,0x00000027,0x0000007e,0x00000007,0x0004003d, 0x0000002c,0x0000002d,0x00000007,0x0004003b,0x00000066,0x00000067,0x00000007,0x0004003b,
0x0000000b,0x0000000f,0x0000000d,0x0007004f,0x0000000e,0x00000010,0x0000000f,0x0000000f, 0x00000027,0x00000081,0x00000007,0x0004003d,0x0000000b,0x0000000f,0x0000000d,0x0007004f,
0x00000000,0x00000001,0x0004006e,0x00000007,0x00000011,0x00000010,0x00050041,0x00000017, 0x0000000e,0x00000010,0x0000000f,0x0000000f,0x00000000,0x00000001,0x0004006e,0x00000007,
0x00000018,0x00000015,0x00000016,0x0004003d,0x00000007,0x00000019,0x00000018,0x00050082, 0x00000011,0x00000010,0x00050041,0x00000017,0x00000018,0x00000015,0x00000016,0x0004003d,
0x00000007,0x0000001a,0x00000011,0x00000019,0x0003003e,0x00000009,0x0000001a,0x0004003d, 0x00000007,0x00000019,0x00000018,0x00050082,0x00000007,0x0000001a,0x00000011,0x00000019,
0x00000007,0x0000001c,0x00000009,0x0003003e,0x0000001b,0x0000001c,0x00050041,0x0000001e, 0x0003003e,0x00000009,0x0000001a,0x0004003d,0x00000007,0x0000001c,0x00000009,0x0003003e,
0x0000001f,0x00000015,0x0000001d,0x0004003d,0x00000012,0x00000020,0x0000001f,0x000500ab, 0x0000001b,0x0000001c,0x00050041,0x0000001e,0x0000001f,0x00000015,0x0000001d,0x0004003d,
0x00000021,0x00000023,0x00000020,0x00000022,0x000300f7,0x00000025,0x00000000,0x000400fa, 0x00000012,0x00000020,0x0000001f,0x000500ab,0x00000021,0x00000023,0x00000020,0x00000022,
0x00000023,0x00000024,0x00000025,0x000200f8,0x00000024,0x00050041,0x00000027,0x00000028, 0x000300f7,0x00000025,0x00000000,0x000400fa,0x00000023,0x00000024,0x00000025,0x000200f8,
0x0000001b,0x00000026,0x0004003d,0x00000006,0x00000029,0x00000028,0x0004007e,0x00000006, 0x00000024,0x00050041,0x00000027,0x00000028,0x0000001b,0x00000026,0x0004003d,0x00000006,
0x0000002a,0x00000029,0x00050041,0x00000027,0x0000002b,0x0000001b,0x00000026,0x0003003e, 0x00000029,0x00000028,0x0004007e,0x00000006,0x0000002a,0x00000029,0x00050041,0x00000027,
0x0000002b,0x0000002a,0x000200f9,0x00000025,0x000200f8,0x00000025,0x0004003d,0x0000002e, 0x0000002b,0x0000001b,0x00000026,0x0003003e,0x0000002b,0x0000002a,0x000200f9,0x00000025,
0x00000031,0x00000030,0x00050041,0x00000017,0x00000033,0x00000015,0x00000032,0x0004003d, 0x000200f8,0x00000025,0x0004003d,0x0000002e,0x00000031,0x00000030,0x00050041,0x00000017,
0x00000007,0x00000034,0x00000033,0x0004003d,0x00000007,0x00000035,0x0000001b,0x00050080, 0x00000033,0x00000015,0x00000032,0x0004003d,0x00000007,0x00000034,0x00000033,0x0004003d,
0x00000007,0x00000036,0x00000034,0x00000035,0x00050041,0x00000038,0x00000039,0x00000015, 0x00000007,0x00000035,0x0000001b,0x00050080,0x00000007,0x00000036,0x00000034,0x00000035,
0x00000037,0x0004003d,0x00000006,0x0000003a,0x00000039,0x0007005f,0x0000000b,0x0000003b, 0x00050041,0x00000038,0x00000039,0x00000015,0x00000037,0x0004003d,0x00000006,0x0000003a,
0x00000031,0x00000036,0x00000002,0x0000003a,0x0003003e,0x0000002d,0x0000003b,0x00050041, 0x00000039,0x0007005f,0x0000000b,0x0000003b,0x00000031,0x00000036,0x00000002,0x0000003a,
0x0000001e,0x0000003d,0x00000015,0x0000003c,0x0004003d,0x00000012,0x0000003e,0x0000003d, 0x0003003e,0x0000002d,0x0000003b,0x00050041,0x0000001e,0x0000003d,0x00000015,0x0000003c,
0x000500ab,0x00000021,0x0000003f,0x0000003e,0x00000022,0x000300f7,0x00000041,0x00000000, 0x0004003d,0x00000012,0x0000003e,0x0000003d,0x000500ab,0x00000021,0x0000003f,0x0000003e,
0x000400fa,0x0000003f,0x00000040,0x0000004c,0x000200f8,0x00000040,0x00050041,0x00000043, 0x00000022,0x000300f7,0x00000041,0x00000000,0x000400fa,0x0000003f,0x00000040,0x0000004c,
0x00000044,0x0000002d,0x00000042,0x0004003d,0x0000000a,0x00000045,0x00000044,0x0004003d, 0x000200f8,0x00000040,0x00050041,0x00000043,0x00000044,0x0000002d,0x00000042,0x0004003d,
0x0000000b,0x00000047,0x0000002d,0x0008004f,0x00000046,0x00000048,0x00000047,0x00000047, 0x0000000a,0x00000045,0x00000044,0x0004003d,0x0000000b,0x00000047,0x0000002d,0x0008004f,
0x00000000,0x00000001,0x00000002,0x0005008e,0x00000046,0x00000049,0x00000048,0x00000045, 0x00000046,0x00000048,0x00000047,0x00000047,0x00000000,0x00000001,0x00000002,0x0005008e,
0x0004003d,0x0000000b,0x0000004a,0x0000002d,0x0009004f,0x0000000b,0x0000004b,0x0000004a, 0x00000046,0x00000049,0x00000048,0x00000045,0x0004003d,0x0000000b,0x0000004a,0x0000002d,
0x00000049,0x00000004,0x00000005,0x00000006,0x00000003,0x0003003e,0x0000002d,0x0000004b, 0x0009004f,0x0000000b,0x0000004b,0x0000004a,0x00000049,0x00000004,0x00000005,0x00000006,
0x000200f9,0x00000041,0x000200f8,0x0000004c,0x00050041,0x0000001e,0x0000004e,0x00000015, 0x00000003,0x0003003e,0x0000002d,0x0000004b,0x000200f9,0x00000041,0x000200f8,0x0000004c,
0x0000004d,0x0004003d,0x00000012,0x0000004f,0x0000004e,0x000500ab,0x00000021,0x00000050, 0x00050041,0x0000001e,0x0000004e,0x00000015,0x0000004d,0x0004003d,0x00000012,0x0000004f,
0x0000004f,0x00000022,0x000300f7,0x00000052,0x00000000,0x000400fa,0x00000050,0x00000051, 0x0000004e,0x000500ab,0x00000021,0x00000050,0x0000004f,0x00000022,0x000300f7,0x00000052,
0x00000052,0x000200f8,0x00000051,0x00050041,0x00000043,0x00000053,0x0000002d,0x00000042, 0x00000000,0x000400fa,0x00000050,0x00000051,0x00000052,0x000200f8,0x00000051,0x00050041,
0x0004003d,0x0000000a,0x00000054,0x00000053,0x000500ba,0x00000021,0x00000056,0x00000054, 0x00000043,0x00000053,0x0000002d,0x00000042,0x0004003d,0x0000000a,0x00000054,0x00000053,
0x00000055,0x000200f9,0x00000052,0x000200f8,0x00000052,0x000700f5,0x00000021,0x00000057, 0x000500ba,0x00000021,0x00000056,0x00000054,0x00000055,0x000200f9,0x00000052,0x000200f8,
0x00000050,0x0000004c,0x00000056,0x00000051,0x000300f7,0x00000059,0x00000000,0x000400fa, 0x00000052,0x000700f5,0x00000021,0x00000057,0x00000050,0x0000004c,0x00000056,0x00000051,
0x00000057,0x00000058,0x00000059,0x000200f8,0x00000058,0x00050041,0x00000043,0x0000005a, 0x000300f7,0x00000059,0x00000000,0x000400fa,0x00000057,0x00000058,0x00000059,0x000200f8,
0x0000002d,0x00000042,0x0004003d,0x0000000a,0x0000005b,0x0000005a,0x0004003d,0x0000000b, 0x00000058,0x00050041,0x00000043,0x0000005a,0x0000002d,0x00000042,0x0004003d,0x0000000a,
0x0000005c,0x0000002d,0x0008004f,0x00000046,0x0000005d,0x0000005c,0x0000005c,0x00000000, 0x0000005b,0x0000005a,0x0004003d,0x0000000b,0x0000005c,0x0000002d,0x0008004f,0x00000046,
0x00000001,0x00000002,0x00060050,0x00000046,0x0000005e,0x0000005b,0x0000005b,0x0000005b, 0x0000005d,0x0000005c,0x0000005c,0x00000000,0x00000001,0x00000002,0x00060050,0x00000046,
0x00050088,0x00000046,0x0000005f,0x0000005d,0x0000005e,0x0004003d,0x0000000b,0x00000060, 0x0000005e,0x0000005b,0x0000005b,0x0000005b,0x00050088,0x00000046,0x0000005f,0x0000005d,
0x0000002d,0x0009004f,0x0000000b,0x00000061,0x00000060,0x0000005f,0x00000004,0x00000005, 0x0000005e,0x0004003d,0x0000000b,0x00000060,0x0000002d,0x0009004f,0x0000000b,0x00000061,
0x00000006,0x00000003,0x0003003e,0x0000002d,0x00000061,0x000200f9,0x00000059,0x000200f8, 0x00000060,0x0000005f,0x00000004,0x00000005,0x00000006,0x00000003,0x0003003e,0x0000002d,
0x00000059,0x000200f9,0x00000041,0x000200f8,0x00000041,0x0004003d,0x0000000b,0x00000065, 0x00000061,0x000200f9,0x00000059,0x000200f8,0x00000059,0x000200f9,0x00000041,0x000200f8,
0x0000002d,0x0004006d,0x00000062,0x00000066,0x00000065,0x0003003e,0x00000064,0x00000066, 0x00000041,0x0004003d,0x0000000b,0x00000063,0x0000002d,0x0005008e,0x0000000b,0x00000064,
0x00050041,0x0000001e,0x00000068,0x00000015,0x00000067,0x0004003d,0x00000012,0x00000069, 0x00000063,0x00000062,0x0003003e,0x0000002d,0x00000064,0x0004003d,0x0000000b,0x00000068,
0x00000068,0x000500ab,0x00000021,0x0000006a,0x00000069,0x00000022,0x000300f7,0x0000006c, 0x0000002d,0x0004006d,0x00000065,0x00000069,0x00000068,0x0003003e,0x00000067,0x00000069,
0x00000000,0x000400fa,0x0000006a,0x0000006b,0x00000072,0x000200f8,0x0000006b,0x0004003d, 0x00050041,0x0000001e,0x0000006b,0x00000015,0x0000006a,0x0004003d,0x00000012,0x0000006c,
0x00000062,0x0000006e,0x00000064,0x0007004f,0x0000006d,0x0000006f,0x0000006e,0x0000006e, 0x0000006b,0x000500ab,0x00000021,0x0000006d,0x0000006c,0x00000022,0x000300f7,0x0000006f,
0x00000000,0x00000003,0x0004003d,0x00000062,0x00000070,0x00000064,0x0009004f,0x00000062, 0x00000000,0x000400fa,0x0000006d,0x0000006e,0x00000075,0x000200f8,0x0000006e,0x0004003d,
0x00000071,0x00000070,0x0000006f,0x00000004,0x00000005,0x00000002,0x00000003,0x0003003e, 0x00000065,0x00000071,0x00000067,0x0007004f,0x00000070,0x00000072,0x00000071,0x00000071,
0x00000064,0x00000071,0x000200f9,0x0000006c,0x000200f8,0x00000072,0x00050041,0x0000001e, 0x00000000,0x00000003,0x0004003d,0x00000065,0x00000073,0x00000067,0x0009004f,0x00000065,
0x00000074,0x00000015,0x00000073,0x0004003d,0x00000012,0x00000075,0x00000074,0x000500ab, 0x00000074,0x00000073,0x00000072,0x00000004,0x00000005,0x00000002,0x00000003,0x0003003e,
0x00000021,0x00000076,0x00000075,0x00000022,0x000300f7,0x00000078,0x00000000,0x000400fa, 0x00000067,0x00000074,0x000200f9,0x0000006f,0x000200f8,0x00000075,0x00050041,0x0000001e,
0x00000076,0x00000077,0x0000007d,0x000200f8,0x00000077,0x00050041,0x00000079,0x0000007a, 0x00000077,0x00000015,0x00000076,0x0004003d,0x00000012,0x00000078,0x00000077,0x000500ab,
0x00000064,0x00000042,0x0004003d,0x00000012,0x0000007b,0x0000007a,0x00050041,0x00000079, 0x00000021,0x00000079,0x00000078,0x00000022,0x000300f7,0x0000007b,0x00000000,0x000400fa,
0x0000007c,0x00000064,0x00000022,0x0003003e,0x0000007c,0x0000007b,0x000200f9,0x00000078, 0x00000079,0x0000007a,0x00000080,0x000200f8,0x0000007a,0x00050041,0x0000007c,0x0000007d,
0x000200f8,0x0000007d,0x00050041,0x00000038,0x00000080,0x00000015,0x0000007f,0x0004003d, 0x00000067,0x00000042,0x0004003d,0x00000012,0x0000007e,0x0000007d,0x00050041,0x0000007c,
0x00000006,0x00000081,0x00000080,0x0003003e,0x0000007e,0x00000081,0x0004003d,0x00000006, 0x0000007f,0x00000067,0x00000022,0x0003003e,0x0000007f,0x0000007e,0x000200f9,0x0000007b,
0x00000082,0x0000007e,0x000500c7,0x00000006,0x00000083,0x00000082,0x00000037,0x000500ab, 0x000200f8,0x00000080,0x00050041,0x00000038,0x00000083,0x00000015,0x00000082,0x0004003d,
0x00000021,0x00000084,0x00000083,0x00000032,0x000300f7,0x00000086,0x00000000,0x000400fa, 0x00000006,0x00000084,0x00000083,0x0003003e,0x00000081,0x00000084,0x0004003d,0x00000006,
0x00000084,0x00000085,0x00000086,0x000200f8,0x00000085,0x00050041,0x00000079,0x00000087, 0x00000085,0x00000081,0x000500c7,0x00000006,0x00000086,0x00000085,0x00000037,0x000500ab,
0x00000064,0x00000026,0x0003003e,0x00000087,0x00000022,0x000200f9,0x00000086,0x000200f8, 0x00000021,0x00000087,0x00000086,0x00000032,0x000300f7,0x00000089,0x00000000,0x000400fa,
0x00000086,0x0004003d,0x00000006,0x00000088,0x0000007e,0x000500c7,0x00000006,0x00000089, 0x00000087,0x00000088,0x00000089,0x000200f8,0x00000088,0x00050041,0x0000007c,0x0000008a,
0x00000088,0x0000001d,0x000500ab,0x00000021,0x0000008a,0x00000089,0x00000032,0x000300f7, 0x00000067,0x00000026,0x0003003e,0x0000008a,0x00000022,0x000200f9,0x00000089,0x000200f8,
0x0000008c,0x00000000,0x000400fa,0x0000008a,0x0000008b,0x0000008c,0x000200f8,0x0000008b, 0x00000089,0x0004003d,0x00000006,0x0000008b,0x00000081,0x000500c7,0x00000006,0x0000008c,
0x00050041,0x00000079,0x0000008e,0x00000064,0x0000008d,0x0003003e,0x0000008e,0x00000022, 0x0000008b,0x0000001d,0x000500ab,0x00000021,0x0000008d,0x0000008c,0x00000032,0x000300f7,
0x000200f9,0x0000008c,0x000200f8,0x0000008c,0x0004003d,0x00000006,0x0000008f,0x0000007e, 0x0000008f,0x00000000,0x000400fa,0x0000008d,0x0000008e,0x0000008f,0x000200f8,0x0000008e,
0x000500c7,0x00000006,0x00000090,0x0000008f,0x00000073,0x000500ab,0x00000021,0x00000091, 0x00050041,0x0000007c,0x00000091,0x00000067,0x00000090,0x0003003e,0x00000091,0x00000022,
0x00000090,0x00000032,0x000300f7,0x00000093,0x00000000,0x000400fa,0x00000091,0x00000092, 0x000200f9,0x0000008f,0x000200f8,0x0000008f,0x0004003d,0x00000006,0x00000092,0x00000081,
0x00000093,0x000200f8,0x00000092,0x00050041,0x00000079,0x00000094,0x00000064,0x00000042, 0x000500c7,0x00000006,0x00000093,0x00000092,0x00000076,0x000500ab,0x00000021,0x00000094,
0x0003003e,0x00000094,0x00000026,0x000200f9,0x00000093,0x000200f8,0x00000093,0x000200f9, 0x00000093,0x00000032,0x000300f7,0x00000096,0x00000000,0x000400fa,0x00000094,0x00000095,
0x00000078,0x000200f8,0x00000078,0x000200f9,0x0000006c,0x000200f8,0x0000006c,0x0004003d, 0x00000096,0x000200f8,0x00000095,0x00050041,0x0000007c,0x00000097,0x00000067,0x00000042,
0x00000062,0x00000097,0x00000064,0x0003003e,0x00000096,0x00000097,0x000100fd,0x00010038 0x0003003e,0x00000097,0x00000026,0x000200f9,0x00000096,0x000200f8,0x00000096,0x000200f9,
0x0000007b,0x000200f8,0x0000007b,0x000200f9,0x0000006f,0x000200f8,0x0000006f,0x0004003d,
0x00000065,0x0000009a,0x00000067,0x0003003e,0x00000099,0x0000009a,0x000100fd,0x00010038
}; };
// Generated from: // Generated from:
...@@ -175,6 +177,8 @@ const uint32_t kImageCopy_frag_00000010[] = { ...@@ -175,6 +177,8 @@ const uint32_t kImageCopy_frag_00000010[] = {
// srcValue . rgb /= srcValue . a; // srcValue . rgb /= srcValue . a;
// } // }
// //
// srcValue *= 255.0;
//
// uvec4 destValue = uvec4(srcValue); // uvec4 destValue = uvec4(srcValue);
// //
// if(params . destHasLuminance) // if(params . destHasLuminance)
......
// 7.12.3226 // 7.12.3226
#pragma once #pragma once
const uint32_t kImageCopy_frag_00000011[] = { const uint32_t kImageCopy_frag_00000011[] = {
0x07230203,0x00010000,0x00080007,0x0000009f,0x00000000,0x00020011,0x00000001,0x0006000b, 0x07230203,0x00010000,0x00080007,0x000000a2,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001, 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x0000009d,0x00030010, 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x000000a0,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x000b0004,0x455f4c47,0x735f5458, 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x000b0004,0x455f4c47,0x735f5458,
0x6c706d61,0x656c7265,0x745f7373,0x75747865,0x665f6572,0x74636e75,0x736e6f69,0x00000000, 0x6c706d61,0x656c7265,0x745f7373,0x75747865,0x665f6572,0x74636e75,0x736e6f69,0x00000000,
0x00040005,0x00000004,0x6e69616d,0x00000000,0x00070005,0x00000009,0x74736564,0x49627553, 0x00040005,0x00000004,0x6e69616d,0x00000000,0x00070005,0x00000009,0x74736564,0x49627553,
...@@ -19,9 +19,9 @@ const uint32_t kImageCopy_frag_00000011[] = { ...@@ -19,9 +19,9 @@ const uint32_t kImageCopy_frag_00000011[] = {
0x00090006,0x00000013,0x00000009,0x74736564,0x61666544,0x43746c75,0x6e6e6168,0x4d736c65, 0x00090006,0x00000013,0x00000009,0x74736564,0x61666544,0x43746c75,0x6e6e6168,0x4d736c65,
0x006b7361,0x00040005,0x00000015,0x61726170,0x0000736d,0x00070005,0x0000001b,0x53637273, 0x006b7361,0x00040005,0x00000015,0x61726170,0x0000736d,0x00070005,0x0000001b,0x53637273,
0x6d496275,0x43656761,0x64726f6f,0x00000073,0x00050005,0x0000002d,0x56637273,0x65756c61, 0x6d496275,0x43656761,0x64726f6f,0x00000073,0x00050005,0x0000002d,0x56637273,0x65756c61,
0x00000000,0x00030005,0x00000030,0x00637273,0x00050005,0x0000006b,0x74736564,0x756c6156, 0x00000000,0x00030005,0x00000030,0x00637273,0x00050005,0x0000006e,0x74736564,0x756c6156,
0x00000065,0x00070005,0x00000085,0x61666564,0x43746c75,0x6e6e6168,0x4d736c65,0x006b7361, 0x00000065,0x00070005,0x00000088,0x61666564,0x43746c75,0x6e6e6168,0x4d736c65,0x006b7361,
0x00040005,0x0000009d,0x74736564,0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f, 0x00040005,0x000000a0,0x74736564,0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f,
0x00050048,0x00000013,0x00000000,0x00000023,0x00000000,0x00050048,0x00000013,0x00000001, 0x00050048,0x00000013,0x00000000,0x00000023,0x00000000,0x00050048,0x00000013,0x00000001,
0x00000023,0x00000008,0x00050048,0x00000013,0x00000002,0x00000023,0x00000010,0x00050048, 0x00000023,0x00000008,0x00050048,0x00000013,0x00000002,0x00000023,0x00000010,0x00050048,
0x00000013,0x00000003,0x00000023,0x00000014,0x00050048,0x00000013,0x00000004,0x00000023, 0x00000013,0x00000003,0x00000023,0x00000014,0x00050048,0x00000013,0x00000004,0x00000023,
...@@ -29,7 +29,7 @@ const uint32_t kImageCopy_frag_00000011[] = { ...@@ -29,7 +29,7 @@ const uint32_t kImageCopy_frag_00000011[] = {
0x00000006,0x00000023,0x00000020,0x00050048,0x00000013,0x00000007,0x00000023,0x00000024, 0x00000006,0x00000023,0x00000020,0x00050048,0x00000013,0x00000007,0x00000023,0x00000024,
0x00050048,0x00000013,0x00000008,0x00000023,0x00000028,0x00050048,0x00000013,0x00000009, 0x00050048,0x00000013,0x00000008,0x00000023,0x00000028,0x00050048,0x00000013,0x00000009,
0x00000023,0x0000002c,0x00030047,0x00000013,0x00000002,0x00040047,0x00000030,0x00000022, 0x00000023,0x0000002c,0x00030047,0x00000013,0x00000002,0x00040047,0x00000030,0x00000022,
0x00000000,0x00040047,0x00000030,0x00000021,0x00000000,0x00040047,0x0000009d,0x0000001e, 0x00000000,0x00040047,0x00000030,0x00000021,0x00000000,0x00040047,0x000000a0,0x0000001e,
0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006, 0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,
0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008, 0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,
0x00000007,0x00000007,0x00030016,0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a, 0x00000007,0x00000007,0x00030016,0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a,
...@@ -49,87 +49,89 @@ const uint32_t kImageCopy_frag_00000011[] = { ...@@ -49,87 +49,89 @@ const uint32_t kImageCopy_frag_00000011[] = {
0x0004002b,0x00000006,0x0000003f,0x00000002,0x0004002b,0x00000006,0x00000043,0x00000005, 0x0004002b,0x00000006,0x0000003f,0x00000002,0x0004002b,0x00000006,0x00000043,0x00000005,
0x0004002b,0x00000012,0x00000049,0x00000003,0x00040020,0x0000004a,0x00000007,0x0000000a, 0x0004002b,0x00000012,0x00000049,0x00000003,0x00040020,0x0000004a,0x00000007,0x0000000a,
0x00040017,0x0000004d,0x0000000a,0x00000003,0x0004002b,0x00000006,0x00000054,0x00000006, 0x00040017,0x0000004d,0x0000000a,0x00000003,0x0004002b,0x00000006,0x00000054,0x00000006,
0x0004002b,0x0000000a,0x0000005c,0x00000000,0x00040017,0x00000069,0x00000012,0x00000004, 0x0004002b,0x0000000a,0x0000005c,0x00000000,0x0004002b,0x0000000a,0x00000069,0x437f0000,
0x00040020,0x0000006a,0x00000007,0x00000069,0x0004002b,0x00000006,0x0000006e,0x00000007, 0x00040017,0x0000006c,0x00000012,0x00000004,0x00040020,0x0000006d,0x00000007,0x0000006c,
0x00040017,0x00000074,0x00000012,0x00000002,0x0004002b,0x00000006,0x0000007a,0x00000008, 0x0004002b,0x00000006,0x00000071,0x00000007,0x00040017,0x00000077,0x00000012,0x00000002,
0x00040020,0x00000080,0x00000007,0x00000012,0x0004002b,0x00000006,0x00000086,0x00000009, 0x0004002b,0x00000006,0x0000007d,0x00000008,0x00040020,0x00000083,0x00000007,0x00000012,
0x0004002b,0x00000012,0x00000094,0x00000002,0x00040020,0x0000009c,0x00000003,0x00000069, 0x0004002b,0x00000006,0x00000089,0x00000009,0x0004002b,0x00000012,0x00000097,0x00000002,
0x0004003b,0x0000009c,0x0000009d,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000, 0x00040020,0x0000009f,0x00000003,0x0000006c,0x0004003b,0x0000009f,0x000000a0,0x00000003,
0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b, 0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
0x00000008,0x0000001b,0x00000007,0x0004003b,0x0000002c,0x0000002d,0x00000007,0x0004003b, 0x00000008,0x00000009,0x00000007,0x0004003b,0x00000008,0x0000001b,0x00000007,0x0004003b,
0x0000006a,0x0000006b,0x00000007,0x0004003b,0x00000027,0x00000085,0x00000007,0x0004003d, 0x0000002c,0x0000002d,0x00000007,0x0004003b,0x0000006d,0x0000006e,0x00000007,0x0004003b,
0x0000000b,0x0000000f,0x0000000d,0x0007004f,0x0000000e,0x00000010,0x0000000f,0x0000000f, 0x00000027,0x00000088,0x00000007,0x0004003d,0x0000000b,0x0000000f,0x0000000d,0x0007004f,
0x00000000,0x00000001,0x0004006e,0x00000007,0x00000011,0x00000010,0x00050041,0x00000017, 0x0000000e,0x00000010,0x0000000f,0x0000000f,0x00000000,0x00000001,0x0004006e,0x00000007,
0x00000018,0x00000015,0x00000016,0x0004003d,0x00000007,0x00000019,0x00000018,0x00050082, 0x00000011,0x00000010,0x00050041,0x00000017,0x00000018,0x00000015,0x00000016,0x0004003d,
0x00000007,0x0000001a,0x00000011,0x00000019,0x0003003e,0x00000009,0x0000001a,0x0004003d, 0x00000007,0x00000019,0x00000018,0x00050082,0x00000007,0x0000001a,0x00000011,0x00000019,
0x00000007,0x0000001c,0x00000009,0x0003003e,0x0000001b,0x0000001c,0x00050041,0x0000001e, 0x0003003e,0x00000009,0x0000001a,0x0004003d,0x00000007,0x0000001c,0x00000009,0x0003003e,
0x0000001f,0x00000015,0x0000001d,0x0004003d,0x00000012,0x00000020,0x0000001f,0x000500ab, 0x0000001b,0x0000001c,0x00050041,0x0000001e,0x0000001f,0x00000015,0x0000001d,0x0004003d,
0x00000021,0x00000023,0x00000020,0x00000022,0x000300f7,0x00000025,0x00000000,0x000400fa, 0x00000012,0x00000020,0x0000001f,0x000500ab,0x00000021,0x00000023,0x00000020,0x00000022,
0x00000023,0x00000024,0x00000025,0x000200f8,0x00000024,0x00050041,0x00000027,0x00000028, 0x000300f7,0x00000025,0x00000000,0x000400fa,0x00000023,0x00000024,0x00000025,0x000200f8,
0x0000001b,0x00000026,0x0004003d,0x00000006,0x00000029,0x00000028,0x0004007e,0x00000006, 0x00000024,0x00050041,0x00000027,0x00000028,0x0000001b,0x00000026,0x0004003d,0x00000006,
0x0000002a,0x00000029,0x00050041,0x00000027,0x0000002b,0x0000001b,0x00000026,0x0003003e, 0x00000029,0x00000028,0x0004007e,0x00000006,0x0000002a,0x00000029,0x00050041,0x00000027,
0x0000002b,0x0000002a,0x000200f9,0x00000025,0x000200f8,0x00000025,0x0004003d,0x0000002e, 0x0000002b,0x0000001b,0x00000026,0x0003003e,0x0000002b,0x0000002a,0x000200f9,0x00000025,
0x00000031,0x00000030,0x00050041,0x00000017,0x00000033,0x00000015,0x00000032,0x0004003d, 0x000200f8,0x00000025,0x0004003d,0x0000002e,0x00000031,0x00000030,0x00050041,0x00000017,
0x00000007,0x00000034,0x00000033,0x0004003d,0x00000007,0x00000035,0x0000001b,0x00050080, 0x00000033,0x00000015,0x00000032,0x0004003d,0x00000007,0x00000034,0x00000033,0x0004003d,
0x00000007,0x00000036,0x00000034,0x00000035,0x00050041,0x00000038,0x00000039,0x00000015, 0x00000007,0x00000035,0x0000001b,0x00050080,0x00000007,0x00000036,0x00000034,0x00000035,
0x00000037,0x0004003d,0x00000006,0x0000003a,0x00000039,0x00050051,0x00000006,0x0000003c, 0x00050041,0x00000038,0x00000039,0x00000015,0x00000037,0x0004003d,0x00000006,0x0000003a,
0x00000036,0x00000000,0x00050051,0x00000006,0x0000003d,0x00000036,0x00000001,0x00060050, 0x00000039,0x00050051,0x00000006,0x0000003c,0x00000036,0x00000000,0x00050051,0x00000006,
0x0000003b,0x0000003e,0x0000003c,0x0000003d,0x0000003a,0x00050041,0x00000038,0x00000040, 0x0000003d,0x00000036,0x00000001,0x00060050,0x0000003b,0x0000003e,0x0000003c,0x0000003d,
0x00000015,0x0000003f,0x0004003d,0x00000006,0x00000041,0x00000040,0x0007005f,0x0000000b, 0x0000003a,0x00050041,0x00000038,0x00000040,0x00000015,0x0000003f,0x0004003d,0x00000006,
0x00000042,0x00000031,0x0000003e,0x00000002,0x00000041,0x0003003e,0x0000002d,0x00000042, 0x00000041,0x00000040,0x0007005f,0x0000000b,0x00000042,0x00000031,0x0000003e,0x00000002,
0x00050041,0x0000001e,0x00000044,0x00000015,0x00000043,0x0004003d,0x00000012,0x00000045, 0x00000041,0x0003003e,0x0000002d,0x00000042,0x00050041,0x0000001e,0x00000044,0x00000015,
0x00000044,0x000500ab,0x00000021,0x00000046,0x00000045,0x00000022,0x000300f7,0x00000048, 0x00000043,0x0004003d,0x00000012,0x00000045,0x00000044,0x000500ab,0x00000021,0x00000046,
0x00000000,0x000400fa,0x00000046,0x00000047,0x00000053,0x000200f8,0x00000047,0x00050041, 0x00000045,0x00000022,0x000300f7,0x00000048,0x00000000,0x000400fa,0x00000046,0x00000047,
0x0000004a,0x0000004b,0x0000002d,0x00000049,0x0004003d,0x0000000a,0x0000004c,0x0000004b, 0x00000053,0x000200f8,0x00000047,0x00050041,0x0000004a,0x0000004b,0x0000002d,0x00000049,
0x0004003d,0x0000000b,0x0000004e,0x0000002d,0x0008004f,0x0000004d,0x0000004f,0x0000004e, 0x0004003d,0x0000000a,0x0000004c,0x0000004b,0x0004003d,0x0000000b,0x0000004e,0x0000002d,
0x0000004e,0x00000000,0x00000001,0x00000002,0x0005008e,0x0000004d,0x00000050,0x0000004f, 0x0008004f,0x0000004d,0x0000004f,0x0000004e,0x0000004e,0x00000000,0x00000001,0x00000002,
0x0000004c,0x0004003d,0x0000000b,0x00000051,0x0000002d,0x0009004f,0x0000000b,0x00000052, 0x0005008e,0x0000004d,0x00000050,0x0000004f,0x0000004c,0x0004003d,0x0000000b,0x00000051,
0x00000051,0x00000050,0x00000004,0x00000005,0x00000006,0x00000003,0x0003003e,0x0000002d, 0x0000002d,0x0009004f,0x0000000b,0x00000052,0x00000051,0x00000050,0x00000004,0x00000005,
0x00000052,0x000200f9,0x00000048,0x000200f8,0x00000053,0x00050041,0x0000001e,0x00000055, 0x00000006,0x00000003,0x0003003e,0x0000002d,0x00000052,0x000200f9,0x00000048,0x000200f8,
0x00000015,0x00000054,0x0004003d,0x00000012,0x00000056,0x00000055,0x000500ab,0x00000021, 0x00000053,0x00050041,0x0000001e,0x00000055,0x00000015,0x00000054,0x0004003d,0x00000012,
0x00000057,0x00000056,0x00000022,0x000300f7,0x00000059,0x00000000,0x000400fa,0x00000057, 0x00000056,0x00000055,0x000500ab,0x00000021,0x00000057,0x00000056,0x00000022,0x000300f7,
0x00000058,0x00000059,0x000200f8,0x00000058,0x00050041,0x0000004a,0x0000005a,0x0000002d, 0x00000059,0x00000000,0x000400fa,0x00000057,0x00000058,0x00000059,0x000200f8,0x00000058,
0x00000049,0x0004003d,0x0000000a,0x0000005b,0x0000005a,0x000500ba,0x00000021,0x0000005d, 0x00050041,0x0000004a,0x0000005a,0x0000002d,0x00000049,0x0004003d,0x0000000a,0x0000005b,
0x0000005b,0x0000005c,0x000200f9,0x00000059,0x000200f8,0x00000059,0x000700f5,0x00000021, 0x0000005a,0x000500ba,0x00000021,0x0000005d,0x0000005b,0x0000005c,0x000200f9,0x00000059,
0x0000005e,0x00000057,0x00000053,0x0000005d,0x00000058,0x000300f7,0x00000060,0x00000000, 0x000200f8,0x00000059,0x000700f5,0x00000021,0x0000005e,0x00000057,0x00000053,0x0000005d,
0x000400fa,0x0000005e,0x0000005f,0x00000060,0x000200f8,0x0000005f,0x00050041,0x0000004a, 0x00000058,0x000300f7,0x00000060,0x00000000,0x000400fa,0x0000005e,0x0000005f,0x00000060,
0x00000061,0x0000002d,0x00000049,0x0004003d,0x0000000a,0x00000062,0x00000061,0x0004003d, 0x000200f8,0x0000005f,0x00050041,0x0000004a,0x00000061,0x0000002d,0x00000049,0x0004003d,
0x0000000b,0x00000063,0x0000002d,0x0008004f,0x0000004d,0x00000064,0x00000063,0x00000063, 0x0000000a,0x00000062,0x00000061,0x0004003d,0x0000000b,0x00000063,0x0000002d,0x0008004f,
0x00000000,0x00000001,0x00000002,0x00060050,0x0000004d,0x00000065,0x00000062,0x00000062, 0x0000004d,0x00000064,0x00000063,0x00000063,0x00000000,0x00000001,0x00000002,0x00060050,
0x00000062,0x00050088,0x0000004d,0x00000066,0x00000064,0x00000065,0x0004003d,0x0000000b, 0x0000004d,0x00000065,0x00000062,0x00000062,0x00000062,0x00050088,0x0000004d,0x00000066,
0x00000067,0x0000002d,0x0009004f,0x0000000b,0x00000068,0x00000067,0x00000066,0x00000004, 0x00000064,0x00000065,0x0004003d,0x0000000b,0x00000067,0x0000002d,0x0009004f,0x0000000b,
0x00000005,0x00000006,0x00000003,0x0003003e,0x0000002d,0x00000068,0x000200f9,0x00000060, 0x00000068,0x00000067,0x00000066,0x00000004,0x00000005,0x00000006,0x00000003,0x0003003e,
0x000200f8,0x00000060,0x000200f9,0x00000048,0x000200f8,0x00000048,0x0004003d,0x0000000b, 0x0000002d,0x00000068,0x000200f9,0x00000060,0x000200f8,0x00000060,0x000200f9,0x00000048,
0x0000006c,0x0000002d,0x0004006d,0x00000069,0x0000006d,0x0000006c,0x0003003e,0x0000006b, 0x000200f8,0x00000048,0x0004003d,0x0000000b,0x0000006a,0x0000002d,0x0005008e,0x0000000b,
0x0000006d,0x00050041,0x0000001e,0x0000006f,0x00000015,0x0000006e,0x0004003d,0x00000012, 0x0000006b,0x0000006a,0x00000069,0x0003003e,0x0000002d,0x0000006b,0x0004003d,0x0000000b,
0x00000070,0x0000006f,0x000500ab,0x00000021,0x00000071,0x00000070,0x00000022,0x000300f7, 0x0000006f,0x0000002d,0x0004006d,0x0000006c,0x00000070,0x0000006f,0x0003003e,0x0000006e,
0x00000073,0x00000000,0x000400fa,0x00000071,0x00000072,0x00000079,0x000200f8,0x00000072, 0x00000070,0x00050041,0x0000001e,0x00000072,0x00000015,0x00000071,0x0004003d,0x00000012,
0x0004003d,0x00000069,0x00000075,0x0000006b,0x0007004f,0x00000074,0x00000076,0x00000075, 0x00000073,0x00000072,0x000500ab,0x00000021,0x00000074,0x00000073,0x00000022,0x000300f7,
0x00000075,0x00000000,0x00000003,0x0004003d,0x00000069,0x00000077,0x0000006b,0x0009004f, 0x00000076,0x00000000,0x000400fa,0x00000074,0x00000075,0x0000007c,0x000200f8,0x00000075,
0x00000069,0x00000078,0x00000077,0x00000076,0x00000004,0x00000005,0x00000002,0x00000003, 0x0004003d,0x0000006c,0x00000078,0x0000006e,0x0007004f,0x00000077,0x00000079,0x00000078,
0x0003003e,0x0000006b,0x00000078,0x000200f9,0x00000073,0x000200f8,0x00000079,0x00050041, 0x00000078,0x00000000,0x00000003,0x0004003d,0x0000006c,0x0000007a,0x0000006e,0x0009004f,
0x0000001e,0x0000007b,0x00000015,0x0000007a,0x0004003d,0x00000012,0x0000007c,0x0000007b, 0x0000006c,0x0000007b,0x0000007a,0x00000079,0x00000004,0x00000005,0x00000002,0x00000003,
0x000500ab,0x00000021,0x0000007d,0x0000007c,0x00000022,0x000300f7,0x0000007f,0x00000000, 0x0003003e,0x0000006e,0x0000007b,0x000200f9,0x00000076,0x000200f8,0x0000007c,0x00050041,
0x000400fa,0x0000007d,0x0000007e,0x00000084,0x000200f8,0x0000007e,0x00050041,0x00000080, 0x0000001e,0x0000007e,0x00000015,0x0000007d,0x0004003d,0x00000012,0x0000007f,0x0000007e,
0x00000081,0x0000006b,0x00000049,0x0004003d,0x00000012,0x00000082,0x00000081,0x00050041, 0x000500ab,0x00000021,0x00000080,0x0000007f,0x00000022,0x000300f7,0x00000082,0x00000000,
0x00000080,0x00000083,0x0000006b,0x00000022,0x0003003e,0x00000083,0x00000082,0x000200f9, 0x000400fa,0x00000080,0x00000081,0x00000087,0x000200f8,0x00000081,0x00050041,0x00000083,
0x0000007f,0x000200f8,0x00000084,0x00050041,0x00000038,0x00000087,0x00000015,0x00000086, 0x00000084,0x0000006e,0x00000049,0x0004003d,0x00000012,0x00000085,0x00000084,0x00050041,
0x0004003d,0x00000006,0x00000088,0x00000087,0x0003003e,0x00000085,0x00000088,0x0004003d, 0x00000083,0x00000086,0x0000006e,0x00000022,0x0003003e,0x00000086,0x00000085,0x000200f9,
0x00000006,0x00000089,0x00000085,0x000500c7,0x00000006,0x0000008a,0x00000089,0x0000003f, 0x00000082,0x000200f8,0x00000087,0x00050041,0x00000038,0x0000008a,0x00000015,0x00000089,
0x000500ab,0x00000021,0x0000008b,0x0000008a,0x00000032,0x000300f7,0x0000008d,0x00000000, 0x0004003d,0x00000006,0x0000008b,0x0000008a,0x0003003e,0x00000088,0x0000008b,0x0004003d,
0x000400fa,0x0000008b,0x0000008c,0x0000008d,0x000200f8,0x0000008c,0x00050041,0x00000080, 0x00000006,0x0000008c,0x00000088,0x000500c7,0x00000006,0x0000008d,0x0000008c,0x0000003f,
0x0000008e,0x0000006b,0x00000026,0x0003003e,0x0000008e,0x00000022,0x000200f9,0x0000008d, 0x000500ab,0x00000021,0x0000008e,0x0000008d,0x00000032,0x000300f7,0x00000090,0x00000000,
0x000200f8,0x0000008d,0x0004003d,0x00000006,0x0000008f,0x00000085,0x000500c7,0x00000006, 0x000400fa,0x0000008e,0x0000008f,0x00000090,0x000200f8,0x0000008f,0x00050041,0x00000083,
0x00000090,0x0000008f,0x0000001d,0x000500ab,0x00000021,0x00000091,0x00000090,0x00000032, 0x00000091,0x0000006e,0x00000026,0x0003003e,0x00000091,0x00000022,0x000200f9,0x00000090,
0x000300f7,0x00000093,0x00000000,0x000400fa,0x00000091,0x00000092,0x00000093,0x000200f8, 0x000200f8,0x00000090,0x0004003d,0x00000006,0x00000092,0x00000088,0x000500c7,0x00000006,
0x00000092,0x00050041,0x00000080,0x00000095,0x0000006b,0x00000094,0x0003003e,0x00000095, 0x00000093,0x00000092,0x0000001d,0x000500ab,0x00000021,0x00000094,0x00000093,0x00000032,
0x00000022,0x000200f9,0x00000093,0x000200f8,0x00000093,0x0004003d,0x00000006,0x00000096, 0x000300f7,0x00000096,0x00000000,0x000400fa,0x00000094,0x00000095,0x00000096,0x000200f8,
0x00000085,0x000500c7,0x00000006,0x00000097,0x00000096,0x0000007a,0x000500ab,0x00000021, 0x00000095,0x00050041,0x00000083,0x00000098,0x0000006e,0x00000097,0x0003003e,0x00000098,
0x00000098,0x00000097,0x00000032,0x000300f7,0x0000009a,0x00000000,0x000400fa,0x00000098, 0x00000022,0x000200f9,0x00000096,0x000200f8,0x00000096,0x0004003d,0x00000006,0x00000099,
0x00000099,0x0000009a,0x000200f8,0x00000099,0x00050041,0x00000080,0x0000009b,0x0000006b, 0x00000088,0x000500c7,0x00000006,0x0000009a,0x00000099,0x0000007d,0x000500ab,0x00000021,
0x00000049,0x0003003e,0x0000009b,0x00000026,0x000200f9,0x0000009a,0x000200f8,0x0000009a, 0x0000009b,0x0000009a,0x00000032,0x000300f7,0x0000009d,0x00000000,0x000400fa,0x0000009b,
0x000200f9,0x0000007f,0x000200f8,0x0000007f,0x000200f9,0x00000073,0x000200f8,0x00000073, 0x0000009c,0x0000009d,0x000200f8,0x0000009c,0x00050041,0x00000083,0x0000009e,0x0000006e,
0x0004003d,0x00000069,0x0000009e,0x0000006b,0x0003003e,0x0000009d,0x0000009e,0x000100fd, 0x00000049,0x0003003e,0x0000009e,0x00000026,0x000200f9,0x0000009d,0x000200f8,0x0000009d,
0x000200f9,0x00000082,0x000200f8,0x00000082,0x000200f9,0x00000076,0x000200f8,0x00000076,
0x0004003d,0x0000006c,0x000000a1,0x0000006e,0x0003003e,0x000000a0,0x000000a1,0x000100fd,
0x00010038 0x00010038
}; };
...@@ -180,6 +182,8 @@ const uint32_t kImageCopy_frag_00000011[] = { ...@@ -180,6 +182,8 @@ const uint32_t kImageCopy_frag_00000011[] = {
// srcValue . rgb /= srcValue . a; // srcValue . rgb /= srcValue . a;
// } // }
// //
// srcValue *= 255.0;
//
// uvec4 destValue = uvec4(srcValue); // uvec4 destValue = uvec4(srcValue);
// //
// if(params . destHasLuminance) // if(params . destHasLuminance)
......
...@@ -89,6 +89,10 @@ void main() ...@@ -89,6 +89,10 @@ void main()
srcValue.rgb /= srcValue.a; srcValue.rgb /= srcValue.a;
} }
#if SrcIsFloat && !DestIsFloat
srcValue *= 255.0;
#endif
// Convert value to destination type. // Convert value to destination type.
DestType destValue = DestType(srcValue); DestType destValue = DestType(srcValue);
......
...@@ -1939,8 +1939,6 @@ TEST_P(CopyTextureTestES3, ES3FloatFormats) ...@@ -1939,8 +1939,6 @@ TEST_P(CopyTextureTestES3, ES3FloatFormats)
TEST_P(CopyTextureTestES3, ES3UintFormats) TEST_P(CopyTextureTestES3, ES3UintFormats)
{ {
ANGLE_SKIP_TEST_IF(IsLinux() && IsOpenGL() && IsIntel()); ANGLE_SKIP_TEST_IF(IsLinux() && IsOpenGL() && IsIntel());
// http://anglebug.com/4092
ANGLE_SKIP_TEST_IF(IsVulkan());
if (!checkExtensions()) if (!checkExtensions())
{ {
......
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