yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
085371d9
16.4.0
1#version 310 es 2 3in uint u1 ; 4in uvec2 u2 ; 5in uvec3 u3 ; 6in uvec4 u4 ; 7 8in float v1 ; 9in vec2 v2 ; 10in vec3 v3 ; 11in vec4 v4 ; 12 13in int i1 ; 14in ivec2 i2 ; 15in ivec3 i3 ; 16in ivec4 i4 ; 17 18out uvec4 uout ; 19out ivec4 iout ; 20out vec4 fout ; 21 22void main () 23{ 24iout = ivec4 ( 0 ) ; 25uout = uvec4 ( 0 ) ; 26fout = vec4 ( 0.0 ) ; 27 28uvec2 u2out ; 29uout . xy += uaddCarry ( u2 , u2 , u2out ) ; 30uout . xy += u2out ; 31 32uint u1out ; 33uout . x += usubBorrow ( u1 , u1 , u1out ) ; 34uout . x += u1out ; 35 36uvec4 u4outHi , u4outLow ; 37umulExtended ( u4 , u4 , u4outHi , u4outLow ) ; 38uout += u4outHi + u4outLow ; 39 40ivec4 i4outHi , i4outLow ; 41imulExtended ( i4 , i4 , i4outHi , i4outLow ) ; 42iout += i4outLow + i4outHi ; 43 44ivec3 i3out ; 45fout . xyz += frexp ( v3 , i3out ) ; 46iout . xyz += i3out ; 47int i1out ; 48fout . x += frexp ( v1 , i1out ) ; 49iout . x += i1out ; 50 51fout . xy += ldexp ( v2 , i2 ) ; 52fout . x += ldexp ( v1 , i1 ) ; 53 54iout . x += bitfieldExtract ( i1 , 4 , 5 ) ; 55uout . xyz += bitfieldExtract ( u3 , 4 , 5 ) ; 56iout . xyz += bitfieldInsert ( i3 , i3 , 4 , 5 ) ; 57uout . x += bitfieldInsert ( u1 , u1 , 4 , 5 ) ; 58iout . xy += bitfieldReverse ( i2 ) ; 59uout += bitfieldReverse ( u4 ) ; 60iout . x += bitCount ( i1 ) ; 61iout . xyz += bitCount ( u3 ) ; 62 63iout . xy += findLSB ( i2 ) ; 64iout += findLSB ( u4 ) ; 65iout . x += findMSB ( i1 ) ; 66iout . xy += findMSB ( u2 ) ; 67 68uout . x += packUnorm4x8 ( v4 ) ; 69uout . x += packSnorm4x8 ( v4 ) ; 70fout += unpackUnorm4x8 ( u1 ) ; 71fout += unpackSnorm4x8 ( u1 ) ; 72}