mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
[wgsl-in] eagerly evaluate const-expressions
[wgsl-in] support const-expressions in attributes allow `Splat` as an evaluated const-expression type
This commit is contained in:
1 parent
c5d884fca8
commit
a730236b68
44 files changed
+2917
-2770
No files matched your search
@@ -1,7 +1,7 @@
|
||||
; SPIR-V
|
||||
; Version: 1.1
|
||||
; Generator: rspirv
|
||||
; Bound: 74
|
||||
; Bound: 73
|
||||
OpCapability Shader
|
||||
%1 = OpExtInstImport "GLSL.std.450"
|
||||
OpMemoryModel Logical GLSL450
|
||||
@@ -78,7 +78,10 @@ OpStore %43 %52
|
||||
%63 = OpCompositeConstruct %9 %21 %21
|
||||
%64 = OpCompositeConstruct %8 %62 %63
|
||||
%65 = OpCompositeConstruct %17 %38 %39 %40 %41
|
||||
%71 = OpCopyObject %20 %49
|
||||
%73 = OpCopyObject %20 %49
|
||||
%67 = OpCompositeConstruct %14 %48 %48
|
||||
%68 = OpCompositeConstruct %7 %21 %21 %21
|
||||
%69 = OpCompositeConstruct %7 %21 %21 %21
|
||||
%70 = OpCompositeConstruct %20 %68 %69
|
||||
%72 = OpCopyObject %20 %49
|
||||
OpReturn
|
||||
OpFunctionEnd
|
||||
Reference in new issue
Block a user