| // 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.00000000.inc: |
| // Pre-generated shader for the ANGLE Vulkan back-end. |
| |
| #pragma once |
| constexpr uint8_t kConvertVertex_comp_00000000[] = { |
| 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x9d,0x99,0x7b,0x74,0x57,0xc5, |
| 0x11,0xc7,0xef,0xe6,0x97,0x84,0x40,0x02,0x04,0x21,0x41,0x02,0x04,0x42,0x50,0x11, |
| 0xc2,0x43,0x48,0x78,0x16,0x08,0x04,0x48,0x04,0x8a,0x10,0x50,0x50,0x44,0x41,0x1e, |
| 0x02,0x42,0x0a,0xc5,0x2a,0xb5,0xb4,0xe2,0x0b,0x6b,0x6b,0x5f,0xb6,0x8a,0xaf,0x56, |
| 0xb1,0xbe,0x00,0x1f,0x58,0xeb,0x03,0xc5,0x5a,0x2d,0x96,0x8a,0x58,0xab,0xad,0xd4, |
| 0xd6,0xda,0x5a,0xc5,0xda,0x5a,0x6d,0x3d,0xc7,0x73,0x50,0xb4,0x62,0x77,0xee,0x7e, |
| 0x86,0xdf,0x64,0xf9,0xfd,0x65,0xce,0xb9,0xe7,0x77,0xe7,0x3b,0x33,0xdf,0x99,0x9d, |
| 0x9d,0xdd,0xbb,0xf7,0x26,0x93,0x57,0xdd,0x26,0x49,0x5c,0xd2,0x2e,0x29,0x4a,0xd6, |
| 0xb8,0x24,0xfd,0xeb,0x94,0xe4,0x25,0x72,0x5b,0x9c,0x14,0xa6,0xbf,0x8d,0xd3,0x67, |
| 0x4f,0x1f,0xb4,0xee,0xfc,0x25,0x83,0x6a,0xeb,0x86,0x88,0xbe,0x43,0x92,0x49,0xed, |
| 0x44,0xd7,0xd1,0xdb,0x14,0xf8,0xdf,0x7c,0x7f,0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|
| 0x20,0xb5,0xed,0xe5,0x02,0xa6,0xf9,0xf5,0x76,0xa1,0xdf,0x75,0x2f,0xae,0x72,0xc1, |
| 0xa6,0xb7,0xb1,0xe9,0xe3,0xc2,0x9a,0xda,0x8d,0x4d,0xb5,0x0b,0x76,0x7d,0x88,0x29, |
| 0xeb,0xa1,0xda,0xd8,0xf7,0x75,0x61,0x8d,0xc8,0xfe,0x20,0xf7,0xba,0x3f,0xc8,0x77, |
| 0xa7,0xe3,0xd9,0x1f,0xfa,0x9a,0xfd,0xe1,0x38,0xf6,0x84,0x13,0xcc,0xf7,0xe3,0xc1, |
| 0x39,0xbe,0x85,0x0e,0x01,0xd7,0x1e,0x38,0xc9,0x1d,0xfd,0xcd,0x62,0xa8,0x0b,0xb8, |
| 0xae,0xb3,0x61,0x2e,0x60,0x33,0xcd,0xb9,0xb2,0xd6,0x05,0xae,0x61,0x26,0xe7,0x3a, |
| 0x17,0xf2,0xd0,0x77,0xa0,0xe1,0xfc,0x1f,0xa0,0x05,0x7b,0x19,0xa7,0x60,0x75,0xe6, |
| 0x7b,0xd9,0xff,0x01,0x63,0x72,0xd6,0xa7,0x88,0x1d,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; |
| // } |
| // |
| // int 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; |
| // } |
| // |
| // if(valueBits < 32) |
| // { |
| // bool isNegative =(valueAsUint &(1 <<(valueBits - 1)))!= 0; |
| // |
| // uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0; |
| // valueAsUint |= signExtension; |
| // } |
| // int value = int(valueAsUint); |
| // |
| // return value; |
| // } |
| // |
| // int convertComponent(int srcValue) |
| // { |
| // |
| // return srcValue; |
| // } |
| // |
| // uint makeDestinationComponent(uint cd, int 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; |
| // } |
| // |
| // int srcValue = loadSourceComponent(cd); |
| // int destValue = convertComponent(srcValue); |
| // valueOut |= makeDestinationComponent(cd, destValue); |
| // } |
| // |
| // storeDestinationComponents(valueOut); |
| // } |