diff options
author | dan sinclair <dsinclair@google.com> | 2020-05-20 17:27:49 +0300 |
---|---|---|
committer | dan sinclair <dsinclair@google.com> | 2020-05-20 17:27:51 +0300 |
commit | 8bf916f5758e272029a609a962b7d4c025f98cc7 (patch) | |
tree | cce2d350a5c1f10c320553cf77be433af15ca56a /reference/opt/shaders-msl/asm | |
parent | 3c43f055df0d7b6948af64c825bf93beb8ab6418 (diff) |
Roll dependencies
This CL updates the GLSLang, SPIRV-Tools and SPIRV-Headers dependencies.
Diffstat (limited to 'reference/opt/shaders-msl/asm')
5 files changed, 22 insertions, 22 deletions
diff --git a/reference/opt/shaders-msl/asm/comp/variable-pointers-2.asm.comp b/reference/opt/shaders-msl/asm/comp/variable-pointers-2.asm.comp index a87e341a..a276b400 100644 --- a/reference/opt/shaders-msl/asm/comp/variable-pointers-2.asm.comp +++ b/reference/opt/shaders-msl/asm/comp/variable-pointers-2.asm.comp @@ -17,15 +17,15 @@ struct bar kernel void main0(device foo& buf [[buffer(0)]], constant bar& cb [[buffer(1)]], uint3 gl_GlobalInvocationID [[thread_position_in_grid]], uint3 gl_LocalInvocationID [[thread_position_in_threadgroup]]) { - bool _70 = cb.d != 0; - device foo* _71 = _70 ? &buf : nullptr; - device foo* _67 = _71; - device foo* _45 = _71; - thread uint3* _77 = _70 ? &gl_GlobalInvocationID : &gl_LocalInvocationID; - thread uint3* _73 = _77; + bool _71 = cb.d != 0; + device foo* _72 = _71 ? &buf : nullptr; + device foo* _67 = _72; + device foo* _45 = _72; + thread uint3* _79 = _71 ? &gl_GlobalInvocationID : &gl_LocalInvocationID; + thread uint3* _74 = _79; device int* _52; device int* _55; - _52 = &_71->a[0u]; + _52 = &_72->a[0u]; _55 = &buf.a[0u]; int _57; int _58; @@ -35,7 +35,7 @@ kernel void main0(device foo& buf [[buffer(0)]], constant bar& cb [[buffer(1)]], _58 = *_55; if (_57 != _58) { - int _66 = (_57 + _58) + int((*_77).x); + int _66 = (_57 + _58) + int((*_79).x); *_52 = _66; *_55 = _66; _52 = &_52[1u]; diff --git a/reference/opt/shaders-msl/asm/comp/variable-pointers-store-forwarding.asm.comp b/reference/opt/shaders-msl/asm/comp/variable-pointers-store-forwarding.asm.comp index b4e03a29..e1861730 100644 --- a/reference/opt/shaders-msl/asm/comp/variable-pointers-store-forwarding.asm.comp +++ b/reference/opt/shaders-msl/asm/comp/variable-pointers-store-forwarding.asm.comp @@ -15,11 +15,11 @@ struct bar kernel void main0(device foo& x [[buffer(0)]], device bar& y [[buffer(1)]], uint3 gl_GlobalInvocationID [[thread_position_in_grid]]) { - device int* _46 = (gl_GlobalInvocationID.x != 0u) ? &x.a : &y.b; - device int* _40 = _46; - device int* _33 = _46; + device int* _47 = (gl_GlobalInvocationID.x != 0u) ? &x.a : &y.b; + device int* _40 = _47; + device int* _33 = _47; int _37 = x.a; - *_46 = 0; + *_47 = 0; y.b = _37 + _37; } diff --git a/reference/opt/shaders-msl/asm/comp/vector-builtin-type-cast-func.asm.comp b/reference/opt/shaders-msl/asm/comp/vector-builtin-type-cast-func.asm.comp index 641f108e..36600038 100644 --- a/reference/opt/shaders-msl/asm/comp/vector-builtin-type-cast-func.asm.comp +++ b/reference/opt/shaders-msl/asm/comp/vector-builtin-type-cast-func.asm.comp @@ -13,14 +13,14 @@ constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(16u, 16u, 1u); kernel void main0(constant cb1_struct& cb0_1 [[buffer(0)]], texture2d<float, access::write> u0 [[texture(0)]], uint3 gl_LocalInvocationID [[thread_position_in_threadgroup]]) { int2 _46 = int2(u0.get_width(), u0.get_height()) >> int2(uint2(4u)); - int _97; - _97 = 0; - for (; _97 < _46.y; _97++) + int _98; + _98 = 0; + for (; _98 < _46.y; _98++) { - for (int _98 = 0; _98 < _46.x; ) + for (int _99 = 0; _99 < _46.x; ) { - u0.write(cb0_1._m0[0].xxxx, uint2(((_46 * int3(gl_LocalInvocationID).xy) + int2(_97, _98)))); - _98++; + u0.write(cb0_1._m0[0].xxxx, uint2(((_46 * int3(gl_LocalInvocationID).xy) + int2(_98, _99)))); + _99++; continue; } } diff --git a/reference/opt/shaders-msl/asm/frag/extract-packed-from-composite.asm.frag b/reference/opt/shaders-msl/asm/frag/extract-packed-from-composite.asm.frag index 649f9f6f..09f8ed8c 100644 --- a/reference/opt/shaders-msl/asm/frag/extract-packed-from-composite.asm.frag +++ b/reference/opt/shaders-msl/asm/frag/extract-packed-from-composite.asm.frag @@ -23,8 +23,8 @@ struct main0_out fragment main0_out main0(constant buf& _11 [[buffer(0)]], float4 gl_FragCoord [[position]]) { main0_out out = {}; - int _67 = int(gl_FragCoord.x) % 16; - out._entryPointOutput = float4(dot(float3(_11.results[_67].a), _11.bar.xyz), _11.results[_67].b, 0.0, 0.0); + int _68 = int(gl_FragCoord.x) % 16; + out._entryPointOutput = float4(dot(float3(_11.results[_68].a), _11.bar.xyz), _11.results[_68].b, 0.0, 0.0); return out; } diff --git a/reference/opt/shaders-msl/asm/frag/line-directive.line.asm.frag b/reference/opt/shaders-msl/asm/frag/line-directive.line.asm.frag index 0d9666d6..f70254a8 100644 --- a/reference/opt/shaders-msl/asm/frag/line-directive.line.asm.frag +++ b/reference/opt/shaders-msl/asm/frag/line-directive.line.asm.frag @@ -32,13 +32,13 @@ fragment main0_out main0(main0_in in [[stage_in]]) #line 16 "test.frag" out.FragColor = 4.0; } - for (int _126 = 0; float(_126) < (40.0 + in.vColor); ) + for (int _127 = 0; float(_127) < (40.0 + in.vColor); ) { #line 21 "test.frag" out.FragColor += 0.20000000298023223876953125; #line 22 "test.frag" out.FragColor += 0.300000011920928955078125; - _126 += (int(in.vColor) + 5); + _127 += (int(in.vColor) + 5); continue; } switch (int(in.vColor)) |