@@ -334,7 +334,7 @@ impl<
334
334
"%coordinate = OpLoad _ {coordinate}" ,
335
335
"%lod = OpLoad _ {lod}" ,
336
336
"%sampledImage = OpSampledImage _ %image %sampler" ,
337
- "%result = OpImageSampleExplicitLod _ %sampledImage %coordinate Lod %lod" ,
337
+ "%result = OpImageSampleExplicitLod typeof*{result} %sampledImage %coordinate Lod %lod" ,
338
338
"OpStore {result} %result" ,
339
339
result = in( reg) & mut result,
340
340
this = in( reg) self ,
@@ -372,7 +372,7 @@ impl<
372
372
"%gradient_dx = OpLoad _ {gradient_dx}" ,
373
373
"%gradient_dy = OpLoad _ {gradient_dy}" ,
374
374
"%sampledImage = OpSampledImage _ %image %sampler" ,
375
- "%result = OpImageSampleExplicitLod _ %sampledImage %coordinate Grad %gradient_dx %gradient_dy" ,
375
+ "%result = OpImageSampleExplicitLod typeof*{result} %sampledImage %coordinate Grad %gradient_dx %gradient_dy" ,
376
376
"OpStore {result} %result" ,
377
377
result = in( reg) & mut result,
378
378
this = in( reg) self ,
@@ -409,7 +409,7 @@ impl<
409
409
"%coordinate = OpLoad _ {coordinate}" ,
410
410
"%depth_reference = OpLoad _ {depth_reference}" , // not required to do this way, but done for consistency
411
411
"%sampledImage = OpSampledImage _ %image %sampler" ,
412
- "%result = OpImageSampleDrefImplicitLod _ %sampledImage %coordinate %depth_reference" ,
412
+ "%result = OpImageSampleDrefImplicitLod typeof*{result} %sampledImage %coordinate %depth_reference" ,
413
413
"OpStore {result} %result" ,
414
414
result = in( reg) & mut result,
415
415
this = in( reg) self ,
@@ -447,7 +447,7 @@ impl<
447
447
"%depth_reference = OpLoad _ {depth_reference}" ,
448
448
"%lod = OpLoad _ {lod}" ,
449
449
"%sampledImage = OpSampledImage _ %image %sampler" ,
450
- "%result = OpImageSampleDrefExplicitLod _ %sampledImage %coordinate %depth_reference Lod %lod" ,
450
+ "%result = OpImageSampleDrefExplicitLod typeof*{result} %sampledImage %coordinate %depth_reference Lod %lod" ,
451
451
"OpStore {result} %result" ,
452
452
result = in( reg) & mut result,
453
453
this = in( reg) self ,
@@ -489,7 +489,7 @@ impl<
489
489
"%gradient_dx = OpLoad _ {gradient_dx}" ,
490
490
"%gradient_dy = OpLoad _ {gradient_dy}" ,
491
491
"%sampledImage = OpSampledImage _ %image %sampler" ,
492
- "%result = OpImageSampleDrefExplicitLod _ %sampledImage %coordinate %depth_reference Grad %gradient_dx %gradient_dy" ,
492
+ "%result = OpImageSampleDrefExplicitLod typeof*{result} %sampledImage %coordinate %depth_reference Grad %gradient_dx %gradient_dy" ,
493
493
"OpStore {result} %result" ,
494
494
result = in( reg) & mut result,
495
495
this = in( reg) self ,
@@ -545,7 +545,7 @@ impl<
545
545
"%sampler = OpLoad _ {sampler}" ,
546
546
"%project_coordinate = OpLoad _ {project_coordinate}" ,
547
547
"%sampledImage = OpSampledImage _ %image %sampler" ,
548
- "%result = OpImageSampleProjImplicitLod _ %sampledImage %project_coordinate" ,
548
+ "%result = OpImageSampleProjImplicitLod typeof*{result} %sampledImage %project_coordinate" ,
549
549
"OpStore {result} %result" ,
550
550
result = in( reg) & mut result,
551
551
this = in( reg) self ,
@@ -580,7 +580,7 @@ impl<
580
580
"%project_coordinate = OpLoad _ {project_coordinate}" ,
581
581
"%lod = OpLoad _ {lod}" ,
582
582
"%sampledImage = OpSampledImage _ %image %sampler" ,
583
- "%result = OpImageSampleProjExplicitLod _ %sampledImage %project_coordinate Lod %lod" ,
583
+ "%result = OpImageSampleProjExplicitLod typeof*{result} %sampledImage %project_coordinate Lod %lod" ,
584
584
"OpStore {result} %result" ,
585
585
result = in( reg) & mut result,
586
586
this = in( reg) self ,
@@ -618,7 +618,7 @@ impl<
618
618
"%gradient_dx = OpLoad _ {gradient_dx}" ,
619
619
"%gradient_dy = OpLoad _ {gradient_dy}" ,
620
620
"%sampledImage = OpSampledImage _ %image %sampler" ,
621
- "%result = OpImageSampleProjExplicitLod _ %sampledImage %project_coordinate Grad %gradient_dx %gradient_dy" ,
621
+ "%result = OpImageSampleProjExplicitLod typeof*{result} %sampledImage %project_coordinate Grad %gradient_dx %gradient_dy" ,
622
622
"OpStore {result} %result" ,
623
623
result = in( reg) & mut result,
624
624
this = in( reg) self ,
@@ -655,7 +655,7 @@ impl<
655
655
"%project_coordinate = OpLoad _ {project_coordinate}" ,
656
656
"%depth_reference = OpLoad _ {depth_reference}" , // not required to do this way, but done for consistency
657
657
"%sampledImage = OpSampledImage _ %image %sampler" ,
658
- "%result = OpImageSampleProjDrefImplicitLod _ %sampledImage %project_coordinate %depth_reference" ,
658
+ "%result = OpImageSampleProjDrefImplicitLod typeof*{result} %sampledImage %project_coordinate %depth_reference" ,
659
659
"OpStore {result} %result" ,
660
660
result = in( reg) & mut result,
661
661
this = in( reg) self ,
@@ -693,7 +693,7 @@ impl<
693
693
"%depth_reference = OpLoad _ {depth_reference}" ,
694
694
"%lod = OpLoad _ {lod}" ,
695
695
"%sampledImage = OpSampledImage _ %image %sampler" ,
696
- "%result = OpImageSampleProjDrefExplicitLod _ %sampledImage %coordinate %depth_reference Lod %lod" ,
696
+ "%result = OpImageSampleProjDrefExplicitLod typeof*{result} %sampledImage %coordinate %depth_reference Lod %lod" ,
697
697
"OpStore {result} %result" ,
698
698
result = in( reg) & mut result,
699
699
this = in( reg) self ,
@@ -735,7 +735,7 @@ impl<
735
735
"%gradient_dx = OpLoad _ {gradient_dx}" ,
736
736
"%gradient_dy = OpLoad _ {gradient_dy}" ,
737
737
"%sampledImage = OpSampledImage _ %image %sampler" ,
738
- "%result = OpImageSampleProjDrefExplicitLod _ %sampledImage %coordinate %depth_reference Grad %gradient_dx %gradient_dy" ,
738
+ "%result = OpImageSampleProjDrefExplicitLod typeof*{result} %sampledImage %coordinate %depth_reference Grad %gradient_dx %gradient_dy" ,
739
739
"OpStore {result} %result" ,
740
740
result = in( reg) & mut result,
741
741
this = in( reg) self ,
@@ -1542,7 +1542,7 @@ impl<
1542
1542
"%coordinate = OpLoad _ {coordinate}" ,
1543
1543
"%depth_reference = OpLoad _ {depth_reference}" , // not required to do this way, but done for consistency
1544
1544
"%sampledImage = OpSampledImage _ %image %sampler" ,
1545
- "%result = OpImageSampleDref$LOD _ %sampledImage %coordinate %depth_reference $PARAMS" ,
1545
+ "%result = OpImageSampleDref$LOD typeof*{result} %sampledImage %coordinate %depth_reference $PARAMS" ,
1546
1546
"OpStore {result} %result" ,
1547
1547
result = in( reg) & mut result,
1548
1548
this = in( reg) self ,
@@ -1577,7 +1577,7 @@ impl<
1577
1577
"%sampler = OpLoad _ {sampler}" ,
1578
1578
"%project_coordinate = OpLoad _ {project_coordinate}" ,
1579
1579
"%sampledImage = OpSampledImage _ %image %sampler" ,
1580
- "%result = OpImageSampleProj$LOD _ %sampledImage %project_coordinate $PARAMS" ,
1580
+ "%result = OpImageSampleProj$LOD typeof*{result} %sampledImage %project_coordinate $PARAMS" ,
1581
1581
"OpStore {result} %result" ,
1582
1582
result = in( reg) & mut result,
1583
1583
this = in( reg) self ,
@@ -1613,7 +1613,7 @@ impl<
1613
1613
"%project_coordinate = OpLoad _ {project_coordinate}" ,
1614
1614
"%depth_reference = OpLoad _ {depth_reference}" , // not required to do this way, but done for consistency
1615
1615
"%sampledImage = OpSampledImage _ %image %sampler" ,
1616
- "%result = OpImageSampleProjDref$LOD _ %sampledImage %project_coordinate %depth_reference $PARAMS" ,
1616
+ "%result = OpImageSampleProjDref$LOD typeof*{result} %sampledImage %project_coordinate %depth_reference $PARAMS" ,
1617
1617
"OpStore {result} %result" ,
1618
1618
result = in( reg) & mut result,
1619
1619
this = in( reg) self ,
0 commit comments