yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
62f5430e
vulkan-sdk-1.4.357.0
1#version 450 core 2 3#extension GL_EXT_float_e2m1 : require 4#extension GL_EXT_shader_explicit_arithmetic_types : enable 5 6layout ( local_size_x = 1 , local_size_y = 1 , local_size_z = 1 ) in ; 7 8void main () 9{ 10{ 11floate2m1_t c000_0 = 0.0f e2m1 ; 12floate2m1_t c000_1 = 0.5f e2m1 ; 13floate2m1_t c001_0 = 1.0f e2m1 ; 14floate2m1_t c001_1 = 1.5f e2m1 ; 15floate2m1_t c010_0 = 2.0f e2m1 ; 16floate2m1_t c010_1 = 3.0f e2m1 ; 17floate2m1_t c011_0 = 4.0f e2m1 ; 18floate2m1_t c011_1 = 6.0f e2m1 ; 19} 20{ 21floate2m1_t c000_0 = floate2m1_t ( 0.0f ) ; 22floate2m1_t c000_1 = floate2m1_t ( 0.5f ) ; 23floate2m1_t c001_0 = floate2m1_t ( 1.0f ) ; 24floate2m1_t c001_1 = floate2m1_t ( 1.5f ) ; 25floate2m1_t c010_0 = floate2m1_t ( 2.0f ) ; 26floate2m1_t c010_1 = floate2m1_t ( 3.0f ) ; 27floate2m1_t c011_0 = floate2m1_t ( 4.0f ) ; 28floate2m1_t c011_1 = floate2m1_t ( 6.0f ) ; 29floate2m1_t c100_0 = floate2m1_t ( - 0.0f ) ; 30floate2m1_t c100_1 = floate2m1_t ( - 0.5f ) ; 31floate2m1_t c101_0 = floate2m1_t ( - 1.0f ) ; 32floate2m1_t c101_1 = floate2m1_t ( - 1.5f ) ; 33floate2m1_t c110_0 = floate2m1_t ( - 2.0f ) ; 34floate2m1_t c110_1 = floate2m1_t ( - 3.0f ) ; 35floate2m1_t c111_0 = floate2m1_t ( - 4.0f ) ; 36floate2m1_t c111_1 = floate2m1_t ( - 6.0f ) ; 37} 38const float f = 1.1 ; 39floate2m1_t c = floate2m1_t ( f ) ; 40}