yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e9d166cd
vulkan-sdk-1.4.350.0
1#version 460 core 2#extension GL_ARM_tensors : enable 3#extension GL_EXT_shader_explicit_arithmetic_types : enable 4 5layout ( set = 0 , binding = 0 ) uniform tensorARM < int32_t , 4 > tu ; 6 7layout ( set = 0 , binding = 1 , std430 ) buffer buff { 8uint out_data [] ; 9} ; 10 11void unusedTensorParams ( tensorARM < int32_t , 4 > , readonly tensorARM < int32_t , 4 > ) { 12return ; 13} 14 15uint tensorParam ( tensorARM < int32_t , 4 > t ) { 16return tensorSizeARM ( t , 0 ) ; 17} 18 19uint qualifiedTensorParam ( readonly tensorARM < int32_t , 4 > t ) { 20return tensorSizeARM ( t , 0 ) ; 21} 22 23void main () { 24unusedTensorParams ( tu , tu ) ; 25out_data [ 0 ] = tensorParam ( tu ) + qualifiedTensorParam ( tu ) ; 26}