diff options
-rw-r--r-- | src/gpu/vk/GrVkCopyManager.cpp | 3 | ||||
-rw-r--r-- | tests/VkMakeCopyPipelineTest.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/gpu/vk/GrVkCopyManager.cpp b/src/gpu/vk/GrVkCopyManager.cpp index 02d1ca0a91..f22d99b9eb 100644 --- a/src/gpu/vk/GrVkCopyManager.cpp +++ b/src/gpu/vk/GrVkCopyManager.cpp @@ -65,11 +65,10 @@ bool GrVkCopyManager::createCopyProgram(GrVkGpu* gpu) { "layout(set = 1, binding = 0) uniform sampler2D uTextureSampler;" "layout(location = 1) in half2 vTexCoord;" - "layout(location = 0, index = 0) out half4 fsColorOut;" "// Copy Program FS\n" "void main() {" - "fsColorOut = texture(uTextureSampler, vTexCoord);" + "sk_FragColor = texture(uTextureSampler, vTexCoord);" "}" ); diff --git a/tests/VkMakeCopyPipelineTest.cpp b/tests/VkMakeCopyPipelineTest.cpp index 77359cd539..cb3cbe9e30 100644 --- a/tests/VkMakeCopyPipelineTest.cpp +++ b/tests/VkMakeCopyPipelineTest.cpp @@ -55,11 +55,10 @@ public: "layout(set = 1, binding = 0) uniform sampler2D uTextureSampler;" "layout(location = 1) in half2 vTexCoord;" - "layout(location = 0, index = 0) out half4 fsColorOut;" "// Copy Program FS\n" "void main() {" - "fsColorOut = texture(uTextureSampler, vTexCoord);" + "sk_FragColor = texture(uTextureSampler, vTexCoord);" "}"; SkSL::Program::Settings settings; |