Source code

Revision control

Copy as Markdown

Other Tools

// 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/Blit3DSrc.frag.00000000.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlit3DSrc_frag_00000000[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x95,0x4b,0x68,0x5d,0x65,
0x14,0x85,0xcf,0x7f,0xee,0x4d,0x6e,0xe2,0x85,0x36,0xc6,0xb4,0x37,0x69,0xa3,0x68,
0x0a,0x36,0x6d,0x6a,0xcc,0xa0,0x8a,0x20,0x15,0x1d,0xe9,0x20,0xe0,0x23,0x45,0x33,
0xc9,0x20,0x20,0x01,0x07,0x46,0x50,0x21,0x83,0x0e,0x0c,0x58,0x07,0x19,0x74,0x92,
0x81,0x03,0x1f,0x2d,0xb5,0xd6,0xd6,0x57,0x1d,0xd8,0x3a,0xab,0x16,0x2d,0x56,0x8b,
0x92,0x6a,0x50,0xa2,0x06,0x03,0x56,0x25,0xa0,0x25,0xa0,0x35,0xda,0x96,0x80,0x7b,
0x9d,0xf3,0x6d,0xb3,0xb9,0x78,0x61,0x73,0xce,0x5a,0x6b,0xff,0x7b,0xfd,0xfb,0x7f,
0x9c,0x5b,0xc9,0xb7,0xd5,0xb2,0x2c,0x65,0xf5,0xac,0x2d,0x1b,0x4a,0x59,0xf1,0xbb,
0x3e,0xcb,0x33,0xbd,0xd6,0xb3,0xd6,0xe2,0x79,0xff,0xf0,0xc8,0xf0,0xe0,0x33,0xcf,
0x3e,0x3e,0xb8,0xfb,0x8e,0x21,0xe9,0x1b,0xb2,0x4a,0x91,0x27,0x6d,0xa3,0xa1,0xaa,
0x3d,0x15,0x4f,0x8e,0x3f,0x31,0x29,0xbe,0xcb,0x62,0xaf,0xc5,0x98,0x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fd,0xc1,0x67,0x63,0x2a,0x79,0xf7,0xe9,0x0c,0x3e,0xd2,
0x3a,0x2c,0x3a,0xa9,0xd5,0x81,0xcf,0x4c,0xf0,0x71,0xad,0x33,0xf8,0x6c,0xc2,0xe7,
0x40,0xf0,0xd9,0x9c,0x4a,0xde,0x7d,0x7a,0x82,0x8f,0xb4,0x86,0x45,0x0f,0xb5,0x1a,
0xf8,0xcc,0x06,0x1f,0xd7,0xf4,0x5c,0xb3,0x0d,0xb8,0xcb,0xe2,0x5f,0x61,0x0d,0xdd,
0xe4,0xa8,0x0c,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// layout(set = 0, binding = 0) uniform texture3D color;
//
// layout(location = 0) out vec4 colorOut0;
// layout(location = 1) out vec4 colorOut1;
// layout(location = 2) out vec4 colorOut2;
// layout(location = 3) out vec4 colorOut3;
// layout(location = 4) out vec4 colorOut4;
// layout(location = 5) out vec4 colorOut5;
// layout(location = 6) out vec4 colorOut6;
// layout(location = 7) out vec4 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 srcMip;
// 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(vec4 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 58 "shaders/src/Blit3DSrc.frag"
//
// void main()
// {
// vec2 srcImageCoordsXY = getSrcImageCoords();
// vec3 srcImageCoords = vec3(srcImageCoordsXY, params.srcLayer);
//
// vec4 colorValue = texture(sampler3D(color, blitSampler), vec3( (srcImageCoords.xy) * params.invSrcExtent, srcImageCoords.z));
//
// broadcastColor(colorValue);
// }