Roll dependencies.

This CL rolls the spirv-tools, spirv-headers and glslang dependencies.
This commit is contained in:
dan sinclair 2020-09-22 12:31:38 -04:00
parent 8891bd3512
commit 9880b05572
3 changed files with 7 additions and 87 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
GLSLANG_REV=517f39eee46f27c83527117d831c4d7e2f7c9fe3
SPIRV_TOOLS_REV=c341f7a6cd441d05ca1347ee39f2f03f32225c59
SPIRV_HEADERS_REV=3fdabd0da2932c276b25b9b4a988ba134eba1aa6
GLSLANG_REV=4dcc12d1a441b29d5901bc708bb1343d29d6459f
SPIRV_TOOLS_REV=0a1fb588cd365f7737cb121fdd64553923e0cef6
SPIRV_HEADERS_REV=060627f0b0d2fa8581b5acb939f46e3b9e500593
if [ -z $PROTOCOL ]; then
PROTOCOL=git

View File

@ -35,58 +35,19 @@ struct main0_in
fragment main0_out main0(main0_in in [[stage_in]], device SSBO& ssbo [[buffer(0)]], constant Push& registers [[buffer(1)]], constant UBO& ubo [[buffer(2)]])
{
main0_out out = {};
short _196 = short(10);
int _197 = 20;
char2 _202 = as_type<char2>(short(10));
char2 _198 = _202;
char4 _199 = as_type<char4>(20);
_196 = as_type<short>(_202);
_197 = as_type<int>(_199);
ssbo.i8[0] = _199.x;
ssbo.i8[1] = _199.y;
ssbo.i8[2] = _199.z;
ssbo.i8[3] = _199.w;
ushort _221 = ushort(10);
uint _222 = 20u;
uchar2 _227 = as_type<uchar2>(ushort(10));
uchar2 _223 = _227;
uchar4 _224 = as_type<uchar4>(20u);
_221 = as_type<ushort>(_227);
_222 = as_type<uint>(_224);
ssbo.u8[0] = _224.x;
ssbo.u8[1] = _224.y;
ssbo.u8[2] = _224.z;
ssbo.u8[3] = _224.w;
char4 _249 = char4(in.vColor);
char4 _246 = _249;
char4 _254 = _249 + char4(registers.i8);
_246 = _254;
char4 _257 = _254 + char4(-40);
_246 = _257;
char4 _259 = _257 + char4(-50);
_246 = _259;
char4 _261 = _259 + char4(char(10), char(20), char(30), char(40));
_246 = _261;
char4 _266 = _261 + char4(ssbo.i8[4]);
_246 = _266;
char4 _271 = _266 + char4(ubo.i8);
_246 = _271;
out.FragColorInt = int4(_271);
uchar4 _278 = uchar4(_249);
uchar4 _274 = _278;
uchar4 _283 = _278 + uchar4(registers.u8);
_274 = _283;
uchar4 _286 = _283 + uchar4(216);
_274 = _286;
uchar4 _288 = _286 + uchar4(206);
_274 = _288;
uchar4 _290 = _288 + uchar4(uchar(10), uchar(20), uchar(30), uchar(40));
_274 = _290;
uchar4 _295 = _290 + uchar4(ssbo.u8[4]);
_274 = _295;
uchar4 _300 = _295 + uchar4(ubo.u8);
_274 = _300;
out.FragColorUint = uint4(_300);
out.FragColorInt = int4((((((_249 + char4(registers.i8)) + char4(-40)) + char4(-50)) + char4(char(10), char(20), char(30), char(40))) + char4(ssbo.i8[4])) + char4(ubo.i8));
out.FragColorUint = uint4((((((uchar4(_249) + uchar4(registers.u8)) + uchar4(216)) + uchar4(206)) + uchar4(uchar(10), uchar(20), uchar(30), uchar(40))) + uchar4(ssbo.u8[4])) + uchar4(ubo.u8));
return out;
}

View File

@ -1,6 +1,4 @@
#version 450
#extension GL_EXT_shader_explicit_arithmetic_types_int16 : require
#extension GL_EXT_shader_16bit_storage : require
#extension GL_EXT_shader_explicit_arithmetic_types_int8 : require
#extension GL_EXT_shader_8bit_storage : require
@ -28,57 +26,18 @@ layout(location = 1) out uvec4 FragColorUint;
void main()
{
int16_t _196 = 10s;
int _197 = 20;
i8vec2 _202 = unpack8(10s);
i8vec2 _198 = _202;
i8vec4 _199 = unpack8(20);
_196 = pack16(_202);
_197 = pack32(_199);
ssbo.i8[0] = _199.x;
ssbo.i8[1] = _199.y;
ssbo.i8[2] = _199.z;
ssbo.i8[3] = _199.w;
uint16_t _221 = 10us;
uint _222 = 20u;
u8vec2 _227 = unpack8(10us);
u8vec2 _223 = _227;
u8vec4 _224 = unpack8(20u);
_221 = pack16(_227);
_222 = pack32(_224);
ssbo.u8[0] = _224.x;
ssbo.u8[1] = _224.y;
ssbo.u8[2] = _224.z;
ssbo.u8[3] = _224.w;
i8vec4 _249 = i8vec4(vColor);
i8vec4 _246 = _249;
i8vec4 _254 = _249 + i8vec4(registers.i8);
_246 = _254;
i8vec4 _257 = _254 + i8vec4(-40);
_246 = _257;
i8vec4 _259 = _257 + i8vec4(-50);
_246 = _259;
i8vec4 _261 = _259 + i8vec4(int8_t(10), int8_t(20), int8_t(30), int8_t(40));
_246 = _261;
i8vec4 _266 = _261 + i8vec4(ssbo.i8[4]);
_246 = _266;
i8vec4 _271 = _266 + i8vec4(ubo.i8);
_246 = _271;
FragColorInt = ivec4(_271);
u8vec4 _278 = u8vec4(_249);
u8vec4 _274 = _278;
u8vec4 _283 = _278 + u8vec4(registers.u8);
_274 = _283;
u8vec4 _286 = _283 + u8vec4(216);
_274 = _286;
u8vec4 _288 = _286 + u8vec4(206);
_274 = _288;
u8vec4 _290 = _288 + u8vec4(uint8_t(10), uint8_t(20), uint8_t(30), uint8_t(40));
_274 = _290;
u8vec4 _295 = _290 + u8vec4(ssbo.u8[4]);
_274 = _295;
u8vec4 _300 = _295 + u8vec4(ubo.u8);
_274 = _300;
FragColorUint = uvec4(_300);
FragColorInt = ivec4((((((_249 + i8vec4(registers.i8)) + i8vec4(-40)) + i8vec4(-50)) + i8vec4(int8_t(10), int8_t(20), int8_t(30), int8_t(40))) + i8vec4(ssbo.i8[4])) + i8vec4(ubo.i8));
FragColorUint = uvec4((((((u8vec4(_249) + u8vec4(registers.u8)) + u8vec4(216)) + u8vec4(206)) + u8vec4(uint8_t(10), uint8_t(20), uint8_t(30), uint8_t(40))) + u8vec4(ssbo.u8[4])) + u8vec4(ubo.u8));
}