summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-02-17 00:59:28 -0300
committerGravatar ameerj2021-07-22 21:51:22 -0400
commit85cce78583bc2232428a8fb39e43182877c8d5ad (patch)
tree308f4ef2d145652e08dff1da31c72c2f00dad2e1 /src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp
parentshader: Remove old shader management (diff)
downloadyuzu-85cce78583bc2232428a8fb39e43182877c8d5ad.tar.gz
yuzu-85cce78583bc2232428a8fb39e43182877c8d5ad.tar.xz
yuzu-85cce78583bc2232428a8fb39e43182877c8d5ad.zip
shader: Primitive Vulkan integration
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp
index a7374c89d..348e4796d 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp
@@ -6,99 +6,99 @@
6 6
7namespace Shader::Backend::SPIRV { 7namespace Shader::Backend::SPIRV {
8 8
9void EmitSPIRV::EmitCompositeConstructU32x2(EmitContext&) { 9void EmitCompositeConstructU32x2(EmitContext&) {
10 throw NotImplementedException("SPIR-V Instruction"); 10 throw NotImplementedException("SPIR-V Instruction");
11} 11}
12 12
13void EmitSPIRV::EmitCompositeConstructU32x3(EmitContext&) { 13void EmitCompositeConstructU32x3(EmitContext&) {
14 throw NotImplementedException("SPIR-V Instruction"); 14 throw NotImplementedException("SPIR-V Instruction");
15} 15}
16 16
17void EmitSPIRV::EmitCompositeConstructU32x4(EmitContext&) { 17void EmitCompositeConstructU32x4(EmitContext&) {
18 throw NotImplementedException("SPIR-V Instruction"); 18 throw NotImplementedException("SPIR-V Instruction");
19} 19}
20 20
21void EmitSPIRV::EmitCompositeExtractU32x2(EmitContext&) { 21void EmitCompositeExtractU32x2(EmitContext&) {
22 throw NotImplementedException("SPIR-V Instruction"); 22 throw NotImplementedException("SPIR-V Instruction");
23} 23}
24 24
25Id EmitSPIRV::EmitCompositeExtractU32x3(EmitContext& ctx, Id vector, u32 index) { 25Id EmitCompositeExtractU32x3(EmitContext& ctx, Id vector, u32 index) {
26 return ctx.OpCompositeExtract(ctx.U32[1], vector, index); 26 return ctx.OpCompositeExtract(ctx.U32[1], vector, index);
27} 27}
28 28
29void EmitSPIRV::EmitCompositeExtractU32x4(EmitContext&) { 29void EmitCompositeExtractU32x4(EmitContext&) {
30 throw NotImplementedException("SPIR-V Instruction"); 30 throw NotImplementedException("SPIR-V Instruction");
31} 31}
32 32
33void EmitSPIRV::EmitCompositeConstructF16x2(EmitContext&) { 33void EmitCompositeConstructF16x2(EmitContext&) {
34 throw NotImplementedException("SPIR-V Instruction"); 34 throw NotImplementedException("SPIR-V Instruction");
35} 35}
36 36
37void EmitSPIRV::EmitCompositeConstructF16x3(EmitContext&) { 37void EmitCompositeConstructF16x3(EmitContext&) {
38 throw NotImplementedException("SPIR-V Instruction"); 38 throw NotImplementedException("SPIR-V Instruction");
39} 39}
40 40
41void EmitSPIRV::EmitCompositeConstructF16x4(EmitContext&) { 41void EmitCompositeConstructF16x4(EmitContext&) {
42 throw NotImplementedException("SPIR-V Instruction"); 42 throw NotImplementedException("SPIR-V Instruction");
43} 43}
44 44
45void EmitSPIRV::EmitCompositeExtractF16x2(EmitContext&) { 45void EmitCompositeExtractF16x2(EmitContext&) {
46 throw NotImplementedException("SPIR-V Instruction"); 46 throw NotImplementedException("SPIR-V Instruction");
47} 47}
48 48
49void EmitSPIRV::EmitCompositeExtractF16x3(EmitContext&) { 49void EmitCompositeExtractF16x3(EmitContext&) {
50 throw NotImplementedException("SPIR-V Instruction"); 50 throw NotImplementedException("SPIR-V Instruction");
51} 51}
52 52
53void EmitSPIRV::EmitCompositeExtractF16x4(EmitContext&) { 53void EmitCompositeExtractF16x4(EmitContext&) {
54 throw NotImplementedException("SPIR-V Instruction"); 54 throw NotImplementedException("SPIR-V Instruction");
55} 55}
56 56
57void EmitSPIRV::EmitCompositeConstructF32x2(EmitContext&) { 57void EmitCompositeConstructF32x2(EmitContext&) {
58 throw NotImplementedException("SPIR-V Instruction"); 58 throw NotImplementedException("SPIR-V Instruction");
59} 59}
60 60
61void EmitSPIRV::EmitCompositeConstructF32x3(EmitContext&) { 61void EmitCompositeConstructF32x3(EmitContext&) {
62 throw NotImplementedException("SPIR-V Instruction"); 62 throw NotImplementedException("SPIR-V Instruction");
63} 63}
64 64
65void EmitSPIRV::EmitCompositeConstructF32x4(EmitContext&) { 65void EmitCompositeConstructF32x4(EmitContext&) {
66 throw NotImplementedException("SPIR-V Instruction"); 66 throw NotImplementedException("SPIR-V Instruction");
67} 67}
68 68
69void EmitSPIRV::EmitCompositeExtractF32x2(EmitContext&) { 69void EmitCompositeExtractF32x2(EmitContext&) {
70 throw NotImplementedException("SPIR-V Instruction"); 70 throw NotImplementedException("SPIR-V Instruction");
71} 71}
72 72
73void EmitSPIRV::EmitCompositeExtractF32x3(EmitContext&) { 73void EmitCompositeExtractF32x3(EmitContext&) {
74 throw NotImplementedException("SPIR-V Instruction"); 74 throw NotImplementedException("SPIR-V Instruction");
75} 75}
76 76
77void EmitSPIRV::EmitCompositeExtractF32x4(EmitContext&) { 77void EmitCompositeExtractF32x4(EmitContext&) {
78 throw NotImplementedException("SPIR-V Instruction"); 78 throw NotImplementedException("SPIR-V Instruction");
79} 79}
80 80
81void EmitSPIRV::EmitCompositeConstructF64x2(EmitContext&) { 81void EmitCompositeConstructF64x2(EmitContext&) {
82 throw NotImplementedException("SPIR-V Instruction"); 82 throw NotImplementedException("SPIR-V Instruction");
83} 83}
84 84
85void EmitSPIRV::EmitCompositeConstructF64x3(EmitContext&) { 85void EmitCompositeConstructF64x3(EmitContext&) {
86 throw NotImplementedException("SPIR-V Instruction"); 86 throw NotImplementedException("SPIR-V Instruction");
87} 87}
88 88
89void EmitSPIRV::EmitCompositeConstructF64x4(EmitContext&) { 89void EmitCompositeConstructF64x4(EmitContext&) {
90 throw NotImplementedException("SPIR-V Instruction"); 90 throw NotImplementedException("SPIR-V Instruction");
91} 91}
92 92
93void EmitSPIRV::EmitCompositeExtractF64x2(EmitContext&) { 93void EmitCompositeExtractF64x2(EmitContext&) {
94 throw NotImplementedException("SPIR-V Instruction"); 94 throw NotImplementedException("SPIR-V Instruction");
95} 95}
96 96
97void EmitSPIRV::EmitCompositeExtractF64x3(EmitContext&) { 97void EmitCompositeExtractF64x3(EmitContext&) {
98 throw NotImplementedException("SPIR-V Instruction"); 98 throw NotImplementedException("SPIR-V Instruction");
99} 99}
100 100
101void EmitSPIRV::EmitCompositeExtractF64x4(EmitContext&) { 101void EmitCompositeExtractF64x4(EmitContext&) {
102 throw NotImplementedException("SPIR-V Instruction"); 102 throw NotImplementedException("SPIR-V Instruction");
103} 103}
104 104