File: multi_entrypoint.spv.dis.diff

package info (click to toggle)
spirv-reflect 1.4.328.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,260 kB
  • sloc: ansic: 13,975; cpp: 5,963; python: 140; sh: 76; makefile: 12
file content (30 lines) | stat: -rw-r--r-- 1,203 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
9c9,10
<                OpEntryPoint Vertex %main "main" %oUV %iUV %_ %pos %colour
---
> 	       OpEntryPoint Vertex %entry_vert_ "entry_vert" %_ %iUV %oUV %pos
> 	       OpEntryPoint Fragment %entry_frag_ "entry_frag" %iUV %colour
13d13
<                OpName %main "main"
28a29,31
>                OpName %PushConstantFrag "PushConstantFrag"
>                OpMemberName %PushConstantFrag 0 "val"
>                OpName %push_constant_frag "push_constant_frag"
42c45
<                OpDecorate %colour Location 1
---
>                OpDecorate %colour Location 0
70a74,76
> %PushConstantFrag = OpTypeStruct %float
> %_ptr_PushConstant_PushConstantFrag = OpTypePointer PushConstant %PushConstantFrag
> %push_constant_frag = OpVariable %_ptr_PushConstant_PushConstantFrag PushConstant
79,84d84
<        %main = OpFunction %void None %3
<           %5 = OpLabel
<          %68 = OpFunctionCall %void %entry_vert_
<          %69 = OpFunctionCall %void %entry_frag_
<                OpReturn
<                OpFunctionEnd
114c114
<          %63 = OpAccessChain %_ptr_PushConstant_float %push_constant_vert %int_0
---
>          %63 = OpAccessChain %_ptr_PushConstant_float %push_constant_frag %int_0