blob: 47d0ca213cd36ff831480f3db66b2a8cee8d25c2 [file] [log] [blame]
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_vk_internal_shaders.py.
//
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// shaders/gen/BlitResolve.frag.00000004.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000004[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0x4d,0x68,0x5d,0x65,
0x10,0x86,0xbf,0x73,0xff,0xf5,0xa6,0xa6,0xfe,0x34,0x69,0xf5,0xb6,0xa6,0x56,0x82,
0x90,0x52,0xbb,0x50,0x31,0x88,0xa2,0x50,0xd0,0x45,0xa1,0x55,0xc1,0x74,0x91,0xcd,
0x05,0xbb,0x30,0xa0,0x8b,0x28,0xdd,0x64,0x51,0xc1,0x08,0xdd,0x64,0xd1,0x4d,0x36,
0xb5,0xd6,0x54,0xd1,0x8a,0x1b,0xf1,0xa7,0x68,0xf1,0x27,0x28,0xb1,0x06,0x25,0x6a,
0x30,0xa0,0xad,0x04,0xb4,0x04,0xb4,0x04,0xb4,0x04,0x4d,0x0d,0xd4,0x3a,0xef,0x39,
0xcf,0xa4,0xc3,0xbd,0x30,0xf7,0x3b,0xf3,0xbe,0x33,0xf3,0x7e,0xf3,0x9d,0xf9,0x4e,
0xb9,0xb4,0xa3,0x9e,0x52,0x96,0xae,0x4f,0x8d,0xb4,0x25,0x4b,0xf9,0xef,0xc6,0x54,
0x4a,0x7a,0x6c,0xa6,0x5a,0xbe,0x3e,0xba,0xf7,0xc9,0xbd,0xbb,0x9e,0x7f,0xe1,0xe9,
0x5d,0xf7,0xdc,0xbb,0x5b,0xfc,0x0d,0xa9,0x9c,0xc7,0x89,0xeb,0x36,0xaf,0x62,0xab,
0xec,0xd9,0xf6,0x33,0xcf,0x09,0xef,0x31,0x3b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xcd,0xfe,0x07,0x64,0x0e,0xf1,0x49,
0x08,0x0c,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// layout(set = 0, binding = 0)uniform itexture2D color;
//
// layout(location = 0)out ivec4 colorOut0;
// layout(location = 1)out ivec4 colorOut1;
// layout(location = 2)out ivec4 colorOut2;
// layout(location = 3)out ivec4 colorOut3;
// layout(location = 4)out ivec4 colorOut4;
// layout(location = 5)out ivec4 colorOut5;
// layout(location = 6)out ivec4 colorOut6;
// layout(location = 7)out ivec4 colorOut7;
//
// layout(set = 0, binding = 2)uniform sampler blitSampler;
//
// #line 1 "shaders/src/BlitResolve.inc"
//
// layout(push_constant)uniform PushConstants {
//
// vec2 offset;
// vec2 stretch;
// vec2 invSrcExtent;
// int srcLayer;
// int samples;
// float invSamples;
//
// int outputMask;
//
// bool flipX;
// bool flipY;
// bool rotateXY;
// } params;
//
// vec2 getSrcImageCoords()
// {
//
// vec2 srcImageCoords = vec2(gl_FragCoord . xy);
//
// srcImageCoords *= params . stretch;
//
// srcImageCoords -= params . offset;
//
// if(params . flipX)
// srcImageCoords . x = - srcImageCoords . x;
// if(params . flipY)
// srcImageCoords . y = - srcImageCoords . y;
// if(params . rotateXY)
// srcImageCoords . xy = srcImageCoords . yx;
//
// return srcImageCoords;
// }
//
// void broadcastColor(ivec4 colorValue)
// {
//
// if((params . outputMask &(1 << 0))!= 0)
// {
// colorOut0 = colorValue;
// }
// if((params . outputMask &(1 << 1))!= 0)
// {
// colorOut1 = colorValue;
// }
// if((params . outputMask &(1 << 2))!= 0)
// {
// colorOut2 = colorValue;
// }
// if((params . outputMask &(1 << 3))!= 0)
// {
// colorOut3 = colorValue;
// }
// if((params . outputMask &(1 << 4))!= 0)
// {
// colorOut4 = colorValue;
// }
// if((params . outputMask &(1 << 5))!= 0)
// {
// colorOut5 = colorValue;
// }
// if((params . outputMask &(1 << 6))!= 0)
// {
// colorOut6 = colorValue;
// }
// if((params . outputMask &(1 << 7))!= 0)
// {
// colorOut7 = colorValue;
// }
// }
//
// #line 123 "shaders/src/BlitResolve.frag"
//
// void main()
// {
// vec2 srcImageCoords = getSrcImageCoords();
//
// ivec4 colorValue = texture(isampler2D(color, blitSampler), srcImageCoords * params . invSrcExtent);
//
// broadcastColor(colorValue);
//
// }