File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -381,12 +381,10 @@ impl Writer {
381
381
argument. ty ,
382
382
binding,
383
383
) ?;
384
+ iface. varying_ids . push ( varying_id) ;
384
385
let id = match binding {
385
386
& crate :: Binding :: BuiltIn ( crate :: BuiltIn :: Payload ) => varying_id,
386
387
_ => {
387
- if binding != & crate :: Binding :: BuiltIn ( crate :: BuiltIn :: Intersection ) {
388
- iface. varying_ids . push ( varying_id) ;
389
- }
390
388
let id = self . id_gen . next ( ) ;
391
389
prelude. body . push ( Instruction :: load (
392
390
argument_type_id,
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ OpExtension "SPV_KHR_ray_tracing"
10
10
%1 = OpExtInstImport "GLSL.std.450"
11
11
OpMemoryModel Logical GLSL450
12
12
OpEntryPoint RayGenerationNV %15 "ray_gen" %12 %23
13
- OpEntryPoint AnyHitNV %38 "discard_any_hit"
14
- OpEntryPoint AnyHitNV %47 "any_hit" %44
15
- OpEntryPoint ClosestHitNV %55 "closest_hit" %53
16
- OpEntryPoint MissNV %61 "miss"
13
+ OpEntryPoint AnyHitNV %38 "discard_any_hit" %34 %35
14
+ OpEntryPoint AnyHitNV %47 "any_hit" %41 %42 % 44
15
+ OpEntryPoint ClosestHitNV %55 "closest_hit" %50 %51 % 53
16
+ OpEntryPoint MissNV %61 "miss" %60
17
17
OpEntryPoint IntersectionNV %64 "intersect_return"
18
18
OpMemberDecorate %8 0 Offset 0
19
19
OpMemberDecorate %8 1 Offset 4
You can’t perform that action at this time.
0 commit comments