glslang/Test/baseResults/hlsl.swizzle.vec1.comp.out
Pavel Asyutchenko e46c1b725c Keep vec1.x l-value in HLSL
Changes in hlsl.shapeConv.frag are just renumbering,
duplicated load (80) has disappeared for whatever reason.
2024-04-22 11:50:37 -04:00

73 lines
2.4 KiB
Plaintext

hlsl.swizzle.vec1.comp
Shader version: 500
local_size = (1, 1, 1)
0:? Sequence
0:2 Function Definition: @main( ( temp void)
0:2 Function Parameters:
0:? Sequence
0:4 move second child to first child ( temp float)
0:4 direct index ( temp float)
0:4 'f1' ( temp 1-component vector of float)
0:4 Constant:
0:4 0 (const int)
0:4 Constant:
0:4 0.500000
0:2 Function Definition: main( ( temp void)
0:2 Function Parameters:
0:? Sequence
0:2 Function Call: @main( ( temp void)
0:? Linker Objects
Linked compute stage:
Shader version: 500
local_size = (1, 1, 1)
0:? Sequence
0:2 Function Definition: @main( ( temp void)
0:2 Function Parameters:
0:? Sequence
0:4 move second child to first child ( temp float)
0:4 direct index ( temp float)
0:4 'f1' ( temp 1-component vector of float)
0:4 Constant:
0:4 0 (const int)
0:4 Constant:
0:4 0.500000
0:2 Function Definition: main( ( temp void)
0:2 Function Parameters:
0:? Sequence
0:2 Function Call: @main( ( temp void)
0:? Linker Objects
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 13
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "main"
ExecutionMode 4 LocalSize 1 1 1
Source HLSL 500
Name 4 "main"
Name 6 "@main("
Name 10 "f1"
2: TypeVoid
3: TypeFunction 2
8: TypeFloat 32
9: TypePointer Function 8(float)
11: 8(float) Constant 1056964608
4(main): 2 Function None 3
5: Label
12: 2 FunctionCall 6(@main()
Return
FunctionEnd
6(@main(): 2 Function None 3
7: Label
10(f1): 9(ptr) Variable Function
Store 10(f1) 11
Return
FunctionEnd