| // 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.00000004.inc: |
| // Pre-generated shader for the ANGLE Vulkan back-end. |
| |
| #pragma once |
| constexpr uint8_t kConvertVertex_comp_00000004[] = { |
| 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x9d,0x98,0x77,0x70,0x57,0x45, |
| 0x10,0xc7,0xdf,0xa5,0x0b,0xa1,0x04,0x48,0x10,0x81,0x40,0x28,0x1a,0x20,0x84,0x00, |
| 0xa1,0x07,0xc4,0x41,0xc4,0x82,0x05,0x15,0x15,0x46,0x2c,0x88,0xc6,0x06,0x16,0xb0, |
| 0x83,0x82,0x4a,0x13,0x0b,0x0a,0x4a,0x11,0x1b,0xd6,0x08,0x58,0xb1,0x61,0x47,0x14, |
| 0x4b,0xec,0x8a,0x0d,0x7b,0x07,0x67,0x9c,0xb1,0xa0,0x20,0xa0,0xb7,0xef,0x3e,0x0b, |
| 0xcb,0x4d,0xfe,0xf2,0x37,0x73,0xf3,0xde,0x7e,0x77,0xf7,0x7b,0x7b,0x7b,0x7b,0xe5, |
| 0xfd,0x32,0x33,0xda,0xe7,0x26,0x89,0x4b,0xea,0x25,0x79,0xc9,0x40,0x97,0xa4,0xbf, |
| 0x82,0x24,0x23,0x91,0xd7,0xfa,0x49,0x4e,0xfa,0x1c,0x36,0xfc,0x88,0xe1,0xe5,0x13, |
| 0x27,0x8d,0x2b,0xaf,0xec,0x55,0x21,0xfa,0x86,0x49,0x66,0x6a,0x27,0xba,0x46,0xde, |
| 0x26,0xdb,0x3f,0xb3,0x7c,0x1b,0x7f,0xe2,0x69,0x13,0x04,0xff,0xd7,0xb7,0xc6,0x1e, |
| 0xcf,0x4a,0xb9,0x92,0x64,0x30,0xb6,0xd2,0xf6,0xf7,0xd6,0x1d,0x43,0x37,0x49,0x7b, |
| 0x9e,0x8a,0x39,0xb0,0x2c,0x83,0x65,0x80,0xe5,0x19,0x2c,0x13,0x2c,0xdf,0x60,0x59, |
| 0x60,0x8d,0x0d,0x96,0x0d,0xd6,0xcc,0x60,0x39,0x60,0xbb,0x1b,0x2c,0x17,0xac,0x95, |
| 0xc1,0xf2,0xc0,0xda,0x1a,0x6c,0x37,0xb0,0x0e,0x06,0xab,0x07,0x56,0x6a,0xb0,0xfa, |
| 0x60,0x65,0x06,0xcb,0x07,0xab,0x30,0x58,0x03,0xb0,0x4a,0xc9,0xb1,0x1f,0x95,0x8e, |
| 0x77,0x98,0x1f,0xcd,0x49,0xc4,0xaa,0xb9,0x18,0x17,0xe5,0x4c,0xec,0xc7,0x91,0x0b, |
| 0xb1,0x3f,0xc5,0x3f,0xdb,0xed,0xd0,0x05,0xb9,0x84,0x9c,0x8a,0xbc,0x39,0xe2,0xdb, |
| 0x52,0x07,0xdf,0x16,0xc3,0xb7,0x35,0xe2,0xdb,0x0a,0x9f,0xca,0xff,0x32,0xce,0x56, |
| 0xc8,0x55,0x2e,0xc8,0x2d,0x7c,0x6b,0xea,0x47,0x91,0x91,0xda,0x67,0xa6,0x7c,0xf2, |
| 0x5e,0xe8,0x6d,0x72,0xc8,0x67,0x92,0x3e,0xb3,0xd2,0xbc,0xe7,0x12,0x57,0x89,0x8f, |
| 0x29,0x8f,0x77,0xc5,0x8b,0xbc,0x77,0x01,0x3e,0x25,0xde,0xbe,0x09,0xf5,0x94,0x8b, |
| 0x7f,0x11,0xef,0x05,0xe8,0x9b,0xf3,0x5e,0x04,0x5f,0x4b,0xc3,0x57,0x84,0x4d,0x5b, |
| 0xe2,0x11,0xac,0xd8,0x57,0x8b,0xd6,0xc4,0xff,0x69,0x12,0xc3,0x9e,0xd4,0x85,0xf0, |
| 0x0c,0x40,0xde,0x0b,0x4c,0xc6,0x5c,0x4a,0xfc,0x32,0x0f,0x5d,0x90,0x3b,0x19,0xff, |
| 0xce,0xd8,0xe6,0x18,0x7d,0x37,0x6a,0x57,0xe5,0x4a,0x62,0xee,0x42,0x0e,0xab,0x98, |
| 0x47,0x95,0x07,0x51,0xaf,0x6a,0x3f,0x34,0x92,0x0f,0xc5,0xbe,0x99,0x67,0x39,0xdc, |
| 0xf8,0x8d,0x64,0xbe,0x45,0x96,0xbc,0x8d,0x66,0x6e,0x5a,0x7b,0x54,0xeb,0xaf,0x98, |
| 0x3a,0x3b,0x89,0x78,0x4f,0x26,0x96,0x71,0x8c,0x57,0xe4,0x53,0x4c,0x7c,0xd2,0x5f, |
| 0xb5,0x99,0xe3,0xd3,0xd1,0xd9,0xf1,0x8d,0x67,0x3d,0x68,0x1c,0x67,0x63,0xaf,0xfa, |
| 0x0b,0x58,0x57,0x2a,0x4f,0x31,0x71,0x8a,0x7c,0xa9,0xec,0x31,0x99,0x3b,0xe5,0x69, |
| 0xac,0x25,0xe5,0x9b,0x65,0xfc,0x45,0x9e,0x17,0xe5,0xef,0x2e,0xe6,0x44,0xe2,0xbb, |
| 0x87,0x5a,0x28,0x35,0xfc,0xf7,0x0b,0xbf,0xff,0xa9,0xbc,0x9c,0xf9,0x13,0xfb,0x57, |
| 0xb1,0xb7,0x79,0xac,0x35,0xf3,0x2b,0x79,0xdc,0x90,0x8e,0x66,0xea,0xf3,0x92,0xc7, |
| 0xcd,0x26,0x8f,0xb2,0xbe,0x36,0xc3,0xf3,0x0f,0x31,0x6d,0x21,0x8f,0x22,0x6f,0x05, |
| 0x6b,0xee,0xe5,0x6d,0xf8,0x65,0x62,0xbf,0x9d,0x3e,0xb6,0x61,0xbf,0x9d,0x7d,0x56, |
| 0xe3,0x92,0x17,0x67,0xf2,0x2c,0xcf,0x01,0x2e,0xec,0xbd,0x65,0x5e,0x12,0x3f,0x59, |
| 0xa3,0x82,0xd5,0x12,0x73,0x6f,0x5f,0x65,0x19,0xd4,0x46,0x42,0x5f,0x7f,0x7b,0x24, |
| 0x9b,0x3e,0xd2,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ff,0xbe,0x6a,0xec,0x65,0x9c,0x82,0xe5,0x9a,0xef, |
| 0xed,0xff,0x00,0x13,0x2e,0x54,0x90,0x9c,0x19,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 * 4 + params . destOffset; |
| // } |
| // |
| // uint getShiftBits(uint offset, uint B) |
| // { |
| // |
| // uint shift =(offset % 4)* 8; |
| // |
| // return shift; |
| // } |
| // |
| // float 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 = valueMask >> 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 valueAsInt = int(valueAsUint); |
| // float value = float(valueAsInt)/(valueMask >> 1); |
| // value = max(value, float(- 1)); |
| // |
| // return value; |
| // } |
| // |
| // float convertComponent(float srcValue) |
| // { |
| // |
| // return srcValue; |
| // } |
| // |
| // uint makeDestinationComponent(uint cd, float value) |
| // { |
| // |
| // uint valueAsUint = floatBitsToInt(value); |
| // |
| // 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 < 1;++ i) |
| // { |
| // uint cd = gl_GlobalInvocationID . x * 1 + i; |
| // if(cd >= params . componentCount) |
| // { |
| // break; |
| // } |
| // |
| // float srcValue = loadSourceComponent(cd); |
| // float destValue = convertComponent(srcValue); |
| // valueOut |= makeDestinationComponent(cd, destValue); |
| // } |
| // |
| // storeDestinationComponents(valueOut); |
| // } |