yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
97068d8b
16.5.0
1#version 450 core 2 3#extension GL_EXT_shader_16bit_storage : enable 4 5struct S 6{ 7int16_t x ; 8i16vec2 y ; 9i16vec3 z ; 10} ; 11 12layout ( column_major , std140 ) uniform B1 13{ 14int16_t a ; 15i16vec2 b ; 16i16vec3 c ; 17int16_t d [ 2 ] ; 18S g ; 19S h [ 2 ] ; 20int j ; 21} b1 ; 22 23layout ( row_major , std430 ) buffer B2 24{ 25int16_t o ; 26i16vec2 p ; 27i16vec3 q ; 28int16_t r [ 2 ] ; 29S u ; 30S v [ 2 ] ; 31int16_t w [] ; 32} b2 ; 33 34struct S2 { 35mat4x4 x ; 36int16_t y ; 37int z ; 38} ; 39 40struct S3 { 41S2 x ; 42} ; 43 44layout ( row_major , std430 ) buffer B3 45{ 46S2 x ; 47} b3 ; 48 49layout ( column_major , std430 ) buffer B4 50{ 51S2 x ; 52} b4 ; 53 54void func3 ( S2 x ) { 55} 56 57S2 func4 () { 58return b4 . x ; 59} 60 61int func ( int16_t a ) { 62return 0 ; 63} 64 65struct S4 { 66int x ; 67int16_t y ; 68} ; 69 70int func2 ( int a ) { return 0 ; } 71 72void main () 73{ 74b2 . o = b2 . q [ 1 ] ; 75b2 . p = b2 . q . xy ; 76b2 . o = max ( b1 . a , b1 . a ) ; 77bvec2 bv = lessThan ( b2 . p , b2 . p ) ; 78b2 . o = b1 . a + b1 . a ; 79b2 . o = - b1 . a ; 80b2 . o = b1 . a + 1 ; 81b2 . p = b2 . p . yx ; 82b4 . x = b3 . x ; 83int16_t f0 ; 84S2 f1 ; 85S3 f2 ; 86if ( b1 . a == b1 . a ) {} 87b2 . r = b2 . r ; 88b2 . p = i16vec2 ( 3 , 4 ) ; 89i16vec2 [ 2 ]( i16vec2 ( ivec2 ( 1 , 2 )) , i16vec2 ( ivec2 ( 3 , 4 ))) ; 90// NOT ERRORING YET 91b3 . x ; 92S4 ( 0 , int16_t ( 0 )) ; 93func2 ( b1 . a ) ; 94} 95 96 97layout ( column_major , std140 ) uniform B6 98{ 99i16mat2x3 e ; 100} b6 ; 101