| // GENERATED FILE - DO NOT EDIT. |
| // Generated by gen_vk_internal_shaders.py. |
| // |
| // Copyright 2020 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/ConvertVertex.comp.00000001.inc: |
| // Pre-generated shader for the ANGLE Vulkan back-end. |
| |
| #pragma once |
| constexpr uint8_t kConvertVertex_comp_00000001[] = { |
| 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x9d,0x99,0x79,0x94,0xce,0x55, |
| 0x18,0xc7,0x7f,0x77,0x36,0x32,0x63,0x37,0xa1,0x98,0x8c,0x5d,0xc6,0x96,0x41,0x91, |
| 0xbd,0x31,0x13,0x33,0x96,0xf6,0x4d,0xab,0x16,0x1c,0x5a,0x10,0xed,0x85,0x94,0xf6, |
| 0x45,0x49,0x59,0x42,0x24,0x6d,0x5a,0x95,0x76,0x11,0xa5,0xbd,0x73,0x3a,0x47,0x49, |
| 0x29,0x6d,0xda,0x4b,0xa4,0x52,0xdd,0xe7,0xbd,0x9f,0xc7,0x3c,0x73,0xbd,0x7f,0x35, |
| 0xe7,0xfc,0xce,0xfb,0xfb,0x7e,0x9f,0xf5,0x3e,0xf7,0xb9,0xcb,0xfb,0x4e,0x66,0x46, |
| 0x8b,0x6a,0x49,0xe2,0x92,0x1a,0x49,0xf5,0xe4,0x08,0x97,0xa4,0xfe,0xea,0x26,0x19, |
| 0x89,0xbc,0xe6,0x26,0x39,0xa9,0xcf,0xd2,0xf2,0x23,0xcb,0x3b,0x4e,0x98,0x38,0xaa, |
| 0x63,0x71,0xb7,0xce,0x22,0xaf,0x95,0x64,0xa6,0xf4,0x44,0x56,0xdb,0xeb,0x64,0xfb, |
| 0xcf,0x2c,0xff,0x8c,0x3b,0x6d,0xf4,0x78,0xe1,0x6b,0x7b,0x41,0x1d,0xcf,0x67,0xa5, |
| 0x7c,0x25,0x49,0x3f,0x74,0xe5,0x29,0xf3,0xda,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0xf7,0xc3,0x87, |
| 0xe2,0x12,0xe6,0xb5,0x3d,0x35,0xab,0x60,0xde,0x14,0x0f,0xa3,0x3f,0x55,0xff,0x98, |
| 0x08,0x9f,0x8a,0x7e,0x03,0x1f,0xf5,0x0c,0x63,0x77,0x56,0xe4,0x77,0x2c,0x73,0xd1, |
| 0xd4,0xb3,0xda,0x6f,0x05,0xf4,0xd5,0x44,0xc6,0x77,0x21,0xb9,0x4f,0xa2,0x3e,0x82, |
| 0x27,0x47,0xe3,0x99,0x62,0xe6,0xf4,0x12,0x64,0xb6,0x1e,0x97,0xd3,0xff,0x8a,0x6f, |
| 0xf0,0xcf,0xbf,0x99,0x95,0xf8,0x66,0xd6,0x82,0xe6,0x75,0xa7,0xa9,0x8f,0xe0,0x85, |
| 0x26,0x9e,0xe0,0xc7,0x99,0x13,0x89,0xf7,0x24,0xbd,0xd0,0xd6,0xf8,0x7f,0x46,0xfc, |
| 0xfb,0x3f,0xc5,0xab,0xcc,0xfc,0x89,0xfd,0x1b,0x60,0x19,0xb7,0xae,0x8b,0x02,0xfa, |
| 0x5f,0xb0,0xf8,0xcd,0x75,0x21,0xa6,0x70,0xbd,0xc0,0x79,0x70,0x0d,0x3d,0xae,0x89, |
| 0x5d,0x26,0x79,0xd4,0x72,0xc1,0x67,0x4d,0xf4,0x05,0xd7,0x86,0x13,0x79,0x1d,0xde, |
| 0x6d,0x5d,0xda,0xb1,0x66,0x34,0xaf,0xe1,0x2e,0xf4,0x42,0x91,0x47,0xe2,0x47,0xd6, |
| 0x94,0x70,0x6f,0x90,0x73,0x77,0xdf,0x55,0x19,0xcc,0x6d,0x42,0xec,0x3f,0x3c,0x93, |
| 0xcd,0xdc,0xa4,0xd6,0x88,0x0b,0xf5,0x50,0xdc,0x3c,0xc2,0x1d,0x22,0x7c,0x68,0x84, |
| 0x7b,0x47,0xb8,0x5f,0x84,0xfb,0x47,0xf8,0xb0,0x08,0x0f,0x8a,0x70,0x05,0xb8,0xbf, |
| 0xcf,0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
| 0xd7,0xfd,0x20,0xc3,0xfc,0x2f,0xa2,0x99,0xd9,0x03,0x0a,0x19,0x53,0x0b,0xf3,0x7b, |
| 0x60,0xdd,0x34,0xbf,0x6d,0xd5,0x83,0xd7,0x39,0xaf,0xef,0xf6,0xfe,0x0e,0xda,0xc0, |
| 0x05,0x5e,0xd7,0x55,0xbe,0x0b,0x5c,0x85,0xb9,0x57,0xec,0xeb,0x82,0xaf,0x7c,0x93, |
| 0x73,0x43,0xfe,0x8f,0xa1,0x77,0xe0,0x46,0xfc,0xae,0x3b,0x05,0x7d,0x19,0xa7,0x70, |
| 0x0d,0xcd,0xef,0x1f,0xff,0x01,0x75,0xc0,0xeb,0xfd,0x24,0x1b,0x00,0x00 |
| }; |
| |
| // Generated from: |
| // |
| // #version 450 core |
| // |
| // layout(local_size_x = 64, local_size_y = 1, local_size_z = 1)in; |
| // |
| // layout(set = 0, binding = 0)buffer dest |
| // { |
| // uint destData[]; |
| // }; |
| // |
| // layout(set = 0, binding = 1)buffer src |
| // { |
| // uint srcData[]; |
| // }; |
| // |
| // layout(push_constant)uniform PushConstants |
| // { |
| // |
| // uint outputCount; |
| // |
| // uint componentCount; |
| // |
| // uint srcOffset; |
| // uint destOffset; |
| // |
| // uint Ns; |
| // uint Bs; |
| // uint Ss; |
| // uint Es; |
| // |
| // uint Nd; |
| // uint Bd; |
| // uint Sd; |
| // uint Ed; |
| // |
| // bool isSrcHDR; |
| // bool isSrcA2BGR10; |
| // } params; |
| // |
| // uint getSourceComponentOffset(uint vertex, uint component) |
| // { |
| // return vertex * params . Ss + component * params . Bs + params . srcOffset; |
| // } |
| // |
| // uint getDestinationComponentOffset(uint vertex, uint component) |
| // { |
| // return vertex * params . Sd + component * params . Bd + params . destOffset; |
| // } |
| // |
| // uint getShiftBits(uint offset, uint B) |
| // { |
| // |
| // uint shift =(offset % 4)* 8; |
| // |
| // return shift; |
| // } |
| // |
| // uint loadSourceComponent(uint cd) |
| // { |
| // |
| // uint vertex = cd / params . Nd; |
| // uint component = cd % params . Nd; |
| // |
| // if(component >= params . Ns && component < 3) |
| // { |
| // return 0; |
| // } |
| // |
| // uint offset = getSourceComponentOffset(vertex, component); |
| // uint block = srcData[offset / 4]; |
| // |
| // uint shiftBits; |
| // uint valueBits; |
| // uint valueMask; |
| // |
| // if(params . isSrcHDR) |
| // { |
| // valueBits = component == 3 ? 2 : 10; |
| // valueMask = component == 3 ? 0x03 : 0x3FF; |
| // if(params . isSrcA2BGR10) |
| // { |
| // shiftBits = 10 * component; |
| // } |
| // else |
| // { |
| // |
| // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2); |
| // } |
| // } |
| // else |
| // { |
| // shiftBits = getShiftBits(offset, params . Bs); |
| // valueBits = params . Bs * 8; |
| // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1; |
| // } |
| // |
| // uint valueAsUint; |
| // |
| // if(component >= params . Ns && component == 3) |
| // { |
| // |
| // valueAsUint = 1; |
| // |
| // } |
| // else |
| // { |
| // valueAsUint =(block >> shiftBits)& valueMask; |
| // } |
| // |
| // uint value = valueAsUint; |
| // |
| // return value; |
| // } |
| // |
| // uint convertComponent(uint srcValue) |
| // { |
| // |
| // return srcValue; |
| // } |
| // |
| // uint makeDestinationComponent(uint cd, uint value) |
| // { |
| // |
| // uint vertex = cd / params . Nd; |
| // uint component = cd % params . Nd; |
| // |
| // uint offset = getDestinationComponentOffset(vertex, component); |
| // uint shiftBits = getShiftBits(offset, params . Bd); |
| // |
| // uint valueBits = params . Bd * 8; |
| // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1; |
| // uint valueAsUint =(uint(value)& valueMask)<< shiftBits; |
| // |
| // return valueAsUint; |
| // } |
| // |
| // void storeDestinationComponents(uint valueAsUint) |
| // { |
| // |
| // destData[gl_GlobalInvocationID . x + params . destOffset / 4]= valueAsUint; |
| // } |
| // |
| // void main() |
| // { |
| // if(gl_GlobalInvocationID . x >= params . outputCount) |
| // return; |
| // |
| // uint valueOut = 0; |
| // for(uint i = 0;i < params . Ed;++ i) |
| // { |
| // uint cd = gl_GlobalInvocationID . x * params . Ed + i; |
| // if(cd >= params . componentCount) |
| // { |
| // break; |
| // } |
| // |
| // uint srcValue = loadSourceComponent(cd); |
| // uint destValue = convertComponent(srcValue); |
| // valueOut |= makeDestinationComponent(cd, destValue); |
| // } |
| // |
| // storeDestinationComponents(valueOut); |
| // } |