@@ -334,7 +334,7 @@ impl<
334334                "%coordinate = OpLoad _ {coordinate}" , 
335335                "%lod = OpLoad _ {lod}" , 
336336                "%sampledImage = OpSampledImage _ %image %sampler" , 
337-                 "%result = OpImageSampleExplicitLod _  %sampledImage %coordinate Lod %lod" , 
337+                 "%result = OpImageSampleExplicitLod typeof*{result}  %sampledImage %coordinate Lod %lod" , 
338338                "OpStore {result} %result" , 
339339                result = in( reg)  & mut  result, 
340340                this = in( reg)  self , 
@@ -372,7 +372,7 @@ impl<
372372                "%gradient_dx = OpLoad _ {gradient_dx}" , 
373373                "%gradient_dy = OpLoad _ {gradient_dy}" , 
374374                "%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" , 
376376                "OpStore {result} %result" , 
377377                result = in( reg)  & mut  result, 
378378                this = in( reg)  self , 
@@ -409,7 +409,7 @@ impl<
409409                "%coordinate = OpLoad _ {coordinate}" , 
410410                "%depth_reference = OpLoad _ {depth_reference}" ,  // not required to do this way, but done for consistency 
411411                "%sampledImage = OpSampledImage _ %image %sampler" , 
412-                 "%result = OpImageSampleDrefImplicitLod _  %sampledImage %coordinate %depth_reference" , 
412+                 "%result = OpImageSampleDrefImplicitLod typeof*{result}  %sampledImage %coordinate %depth_reference" , 
413413                "OpStore {result} %result" , 
414414                result = in( reg)  & mut  result, 
415415                this = in( reg)  self , 
@@ -447,7 +447,7 @@ impl<
447447                "%depth_reference = OpLoad _ {depth_reference}" , 
448448                "%lod = OpLoad _ {lod}" , 
449449                "%sampledImage = OpSampledImage _ %image %sampler" , 
450-                 "%result = OpImageSampleDrefExplicitLod _  %sampledImage %coordinate %depth_reference Lod %lod" , 
450+                 "%result = OpImageSampleDrefExplicitLod typeof*{result}  %sampledImage %coordinate %depth_reference Lod %lod" , 
451451                "OpStore {result} %result" , 
452452                result = in( reg)  & mut  result, 
453453                this = in( reg)  self , 
@@ -489,7 +489,7 @@ impl<
489489                "%gradient_dx = OpLoad _ {gradient_dx}" , 
490490                "%gradient_dy = OpLoad _ {gradient_dy}" , 
491491                "%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" , 
493493                "OpStore {result} %result" , 
494494                result = in( reg)  & mut  result, 
495495                this = in( reg)  self , 
@@ -545,7 +545,7 @@ impl<
545545                "%sampler = OpLoad _ {sampler}" , 
546546                "%project_coordinate = OpLoad _ {project_coordinate}" , 
547547                "%sampledImage = OpSampledImage _ %image %sampler" , 
548-                 "%result = OpImageSampleProjImplicitLod _  %sampledImage %project_coordinate" , 
548+                 "%result = OpImageSampleProjImplicitLod typeof*{result}  %sampledImage %project_coordinate" , 
549549                "OpStore {result} %result" , 
550550                result = in( reg)  & mut  result, 
551551                this = in( reg)  self , 
@@ -580,7 +580,7 @@ impl<
580580                "%project_coordinate = OpLoad _ {project_coordinate}" , 
581581                "%lod = OpLoad _ {lod}" , 
582582                "%sampledImage = OpSampledImage _ %image %sampler" , 
583-                 "%result = OpImageSampleProjExplicitLod _  %sampledImage %project_coordinate Lod %lod" , 
583+                 "%result = OpImageSampleProjExplicitLod typeof*{result}  %sampledImage %project_coordinate Lod %lod" , 
584584                "OpStore {result} %result" , 
585585                result = in( reg)  & mut  result, 
586586                this = in( reg)  self , 
@@ -618,7 +618,7 @@ impl<
618618                "%gradient_dx = OpLoad _ {gradient_dx}" , 
619619                "%gradient_dy = OpLoad _ {gradient_dy}" , 
620620                "%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" , 
622622                "OpStore {result} %result" , 
623623                result = in( reg)  & mut  result, 
624624                this = in( reg)  self , 
@@ -655,7 +655,7 @@ impl<
655655                "%project_coordinate = OpLoad _ {project_coordinate}" , 
656656                "%depth_reference = OpLoad _ {depth_reference}" ,  // not required to do this way, but done for consistency 
657657                "%sampledImage = OpSampledImage _ %image %sampler" , 
658-                 "%result = OpImageSampleProjDrefImplicitLod _  %sampledImage %project_coordinate %depth_reference" , 
658+                 "%result = OpImageSampleProjDrefImplicitLod typeof*{result}  %sampledImage %project_coordinate %depth_reference" , 
659659                "OpStore {result} %result" , 
660660                result = in( reg)  & mut  result, 
661661                this = in( reg)  self , 
@@ -693,7 +693,7 @@ impl<
693693                "%depth_reference = OpLoad _ {depth_reference}" , 
694694                "%lod = OpLoad _ {lod}" , 
695695                "%sampledImage = OpSampledImage _ %image %sampler" , 
696-                 "%result = OpImageSampleProjDrefExplicitLod _  %sampledImage %coordinate %depth_reference Lod %lod" , 
696+                 "%result = OpImageSampleProjDrefExplicitLod typeof*{result}  %sampledImage %coordinate %depth_reference Lod %lod" , 
697697                "OpStore {result} %result" , 
698698                result = in( reg)  & mut  result, 
699699                this = in( reg)  self , 
@@ -735,7 +735,7 @@ impl<
735735                "%gradient_dx = OpLoad _ {gradient_dx}" , 
736736                "%gradient_dy = OpLoad _ {gradient_dy}" , 
737737                "%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" , 
739739                "OpStore {result} %result" , 
740740                result = in( reg)  & mut  result, 
741741                this = in( reg)  self , 
@@ -1542,7 +1542,7 @@ impl<
15421542                "%coordinate = OpLoad _ {coordinate}" , 
15431543                "%depth_reference = OpLoad _ {depth_reference}" ,  // not required to do this way, but done for consistency 
15441544                "%sampledImage = OpSampledImage _ %image %sampler" , 
1545-                 "%result = OpImageSampleDref$LOD _  %sampledImage %coordinate %depth_reference $PARAMS" , 
1545+                 "%result = OpImageSampleDref$LOD typeof*{result}  %sampledImage %coordinate %depth_reference $PARAMS" , 
15461546                "OpStore {result} %result" , 
15471547                result = in( reg)  & mut  result, 
15481548                this = in( reg)  self , 
@@ -1577,7 +1577,7 @@ impl<
15771577                "%sampler = OpLoad _ {sampler}" , 
15781578                "%project_coordinate = OpLoad _ {project_coordinate}" , 
15791579                "%sampledImage = OpSampledImage _ %image %sampler" , 
1580-                 "%result = OpImageSampleProj$LOD _  %sampledImage %project_coordinate $PARAMS" , 
1580+                 "%result = OpImageSampleProj$LOD typeof*{result}  %sampledImage %project_coordinate $PARAMS" , 
15811581                "OpStore {result} %result" , 
15821582                result = in( reg)  & mut  result, 
15831583                this = in( reg)  self , 
@@ -1613,7 +1613,7 @@ impl<
16131613                "%project_coordinate = OpLoad _ {project_coordinate}" , 
16141614                "%depth_reference = OpLoad _ {depth_reference}" ,  // not required to do this way, but done for consistency 
16151615                "%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" , 
16171617                "OpStore {result} %result" , 
16181618                result = in( reg)  & mut  result, 
16191619                this = in( reg)  self , 
0 commit comments