diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp index 85d07b4de..9ed5bb319 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | namespace Shader::Backend::GLSL { | 11 | namespace Shader::Backend::GLSL { |
| 12 | void EmitConvertS16F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 12 | void EmitConvertS16F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 13 | [[maybe_unused]] std::string_view value) { | 13 | [[maybe_unused]] std::string_view value) { |
| 14 | throw NotImplementedException("GLSL Instruction"); | 14 | NotImplemented(); |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | void EmitConvertS16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 17 | void EmitConvertS16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -21,12 +21,12 @@ void EmitConvertS16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 21 | 21 | ||
| 22 | void EmitConvertS16F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 22 | void EmitConvertS16F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 23 | [[maybe_unused]] std::string_view value) { | 23 | [[maybe_unused]] std::string_view value) { |
| 24 | throw NotImplementedException("GLSL Instruction"); | 24 | NotImplemented(); |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | void EmitConvertS32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 27 | void EmitConvertS32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 28 | [[maybe_unused]] std::string_view value) { | 28 | [[maybe_unused]] std::string_view value) { |
| 29 | throw NotImplementedException("GLSL Instruction"); | 29 | NotImplemented(); |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | void EmitConvertS32F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 32 | void EmitConvertS32F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -41,7 +41,7 @@ void EmitConvertS32F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 41 | 41 | ||
| 42 | void EmitConvertS64F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 42 | void EmitConvertS64F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 43 | [[maybe_unused]] std::string_view value) { | 43 | [[maybe_unused]] std::string_view value) { |
| 44 | throw NotImplementedException("GLSL Instruction"); | 44 | NotImplemented(); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | void EmitConvertS64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 47 | void EmitConvertS64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -56,22 +56,22 @@ void EmitConvertS64F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 56 | 56 | ||
| 57 | void EmitConvertU16F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 57 | void EmitConvertU16F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 58 | [[maybe_unused]] std::string_view value) { | 58 | [[maybe_unused]] std::string_view value) { |
| 59 | throw NotImplementedException("GLSL Instruction"); | 59 | NotImplemented(); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | void EmitConvertU16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 62 | void EmitConvertU16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 63 | [[maybe_unused]] std::string_view value) { | 63 | [[maybe_unused]] std::string_view value) { |
| 64 | throw NotImplementedException("GLSL Instruction"); | 64 | NotImplemented(); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | void EmitConvertU16F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 67 | void EmitConvertU16F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 68 | [[maybe_unused]] std::string_view value) { | 68 | [[maybe_unused]] std::string_view value) { |
| 69 | throw NotImplementedException("GLSL Instruction"); | 69 | NotImplemented(); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | void EmitConvertU32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 72 | void EmitConvertU32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 73 | [[maybe_unused]] std::string_view value) { | 73 | [[maybe_unused]] std::string_view value) { |
| 74 | throw NotImplementedException("GLSL Instruction"); | 74 | NotImplemented(); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | void EmitConvertU32F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 77 | void EmitConvertU32F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -86,7 +86,7 @@ void EmitConvertU32F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 86 | 86 | ||
| 87 | void EmitConvertU64F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 87 | void EmitConvertU64F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 88 | [[maybe_unused]] std::string_view value) { | 88 | [[maybe_unused]] std::string_view value) { |
| 89 | throw NotImplementedException("GLSL Instruction"); | 89 | NotImplemented(); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | void EmitConvertU64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 92 | void EmitConvertU64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -111,12 +111,12 @@ void EmitConvertU32U64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 111 | 111 | ||
| 112 | void EmitConvertF16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 112 | void EmitConvertF16F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 113 | [[maybe_unused]] std::string_view value) { | 113 | [[maybe_unused]] std::string_view value) { |
| 114 | throw NotImplementedException("GLSL Instruction"); | 114 | NotImplemented(); |
| 115 | } | 115 | } |
| 116 | 116 | ||
| 117 | void EmitConvertF32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 117 | void EmitConvertF32F16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 118 | [[maybe_unused]] std::string_view value) { | 118 | [[maybe_unused]] std::string_view value) { |
| 119 | throw NotImplementedException("GLSL Instruction"); | 119 | NotImplemented(); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | void EmitConvertF32F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 122 | void EmitConvertF32F64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -131,52 +131,52 @@ void EmitConvertF64F32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 131 | 131 | ||
| 132 | void EmitConvertF16S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 132 | void EmitConvertF16S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 133 | [[maybe_unused]] std::string_view value) { | 133 | [[maybe_unused]] std::string_view value) { |
| 134 | throw NotImplementedException("GLSL Instruction"); | 134 | NotImplemented(); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | void EmitConvertF16S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 137 | void EmitConvertF16S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 138 | [[maybe_unused]] std::string_view value) { | 138 | [[maybe_unused]] std::string_view value) { |
| 139 | throw NotImplementedException("GLSL Instruction"); | 139 | NotImplemented(); |
| 140 | } | 140 | } |
| 141 | 141 | ||
| 142 | void EmitConvertF16S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 142 | void EmitConvertF16S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 143 | [[maybe_unused]] std::string_view value) { | 143 | [[maybe_unused]] std::string_view value) { |
| 144 | throw NotImplementedException("GLSL Instruction"); | 144 | NotImplemented(); |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | void EmitConvertF16S64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 147 | void EmitConvertF16S64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 148 | [[maybe_unused]] std::string_view value) { | 148 | [[maybe_unused]] std::string_view value) { |
| 149 | throw NotImplementedException("GLSL Instruction"); | 149 | NotImplemented(); |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | void EmitConvertF16U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 152 | void EmitConvertF16U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 153 | [[maybe_unused]] std::string_view value) { | 153 | [[maybe_unused]] std::string_view value) { |
| 154 | throw NotImplementedException("GLSL Instruction"); | 154 | NotImplemented(); |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | void EmitConvertF16U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 157 | void EmitConvertF16U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 158 | [[maybe_unused]] std::string_view value) { | 158 | [[maybe_unused]] std::string_view value) { |
| 159 | throw NotImplementedException("GLSL Instruction"); | 159 | NotImplemented(); |
| 160 | } | 160 | } |
| 161 | 161 | ||
| 162 | void EmitConvertF16U32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 162 | void EmitConvertF16U32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 163 | [[maybe_unused]] std::string_view value) { | 163 | [[maybe_unused]] std::string_view value) { |
| 164 | throw NotImplementedException("GLSL Instruction"); | 164 | NotImplemented(); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | void EmitConvertF16U64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 167 | void EmitConvertF16U64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 168 | [[maybe_unused]] std::string_view value) { | 168 | [[maybe_unused]] std::string_view value) { |
| 169 | throw NotImplementedException("GLSL Instruction"); | 169 | NotImplemented(); |
| 170 | } | 170 | } |
| 171 | 171 | ||
| 172 | void EmitConvertF32S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 172 | void EmitConvertF32S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 173 | [[maybe_unused]] std::string_view value) { | 173 | [[maybe_unused]] std::string_view value) { |
| 174 | throw NotImplementedException("GLSL Instruction"); | 174 | NotImplemented(); |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | void EmitConvertF32S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 177 | void EmitConvertF32S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 178 | [[maybe_unused]] std::string_view value) { | 178 | [[maybe_unused]] std::string_view value) { |
| 179 | throw NotImplementedException("GLSL Instruction"); | 179 | NotImplemented(); |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | void EmitConvertF32S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 182 | void EmitConvertF32S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -191,7 +191,7 @@ void EmitConvertF32S64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 191 | 191 | ||
| 192 | void EmitConvertF32U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 192 | void EmitConvertF32U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 193 | [[maybe_unused]] std::string_view value) { | 193 | [[maybe_unused]] std::string_view value) { |
| 194 | throw NotImplementedException("GLSL Instruction"); | 194 | NotImplemented(); |
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | void EmitConvertF32U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 197 | void EmitConvertF32U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -211,12 +211,12 @@ void EmitConvertF32U64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 211 | 211 | ||
| 212 | void EmitConvertF64S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 212 | void EmitConvertF64S8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 213 | [[maybe_unused]] std::string_view value) { | 213 | [[maybe_unused]] std::string_view value) { |
| 214 | throw NotImplementedException("GLSL Instruction"); | 214 | NotImplemented(); |
| 215 | } | 215 | } |
| 216 | 216 | ||
| 217 | void EmitConvertF64S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 217 | void EmitConvertF64S16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 218 | [[maybe_unused]] std::string_view value) { | 218 | [[maybe_unused]] std::string_view value) { |
| 219 | throw NotImplementedException("GLSL Instruction"); | 219 | NotImplemented(); |
| 220 | } | 220 | } |
| 221 | 221 | ||
| 222 | void EmitConvertF64S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 222 | void EmitConvertF64S32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| @@ -231,12 +231,12 @@ void EmitConvertF64S64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I | |||
| 231 | 231 | ||
| 232 | void EmitConvertF64U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 232 | void EmitConvertF64U8([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 233 | [[maybe_unused]] std::string_view value) { | 233 | [[maybe_unused]] std::string_view value) { |
| 234 | throw NotImplementedException("GLSL Instruction"); | 234 | NotImplemented(); |
| 235 | } | 235 | } |
| 236 | 236 | ||
| 237 | void EmitConvertF64U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 237 | void EmitConvertF64U16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |
| 238 | [[maybe_unused]] std::string_view value) { | 238 | [[maybe_unused]] std::string_view value) { |
| 239 | throw NotImplementedException("GLSL Instruction"); | 239 | NotImplemented(); |
| 240 | } | 240 | } |
| 241 | 241 | ||
| 242 | void EmitConvertF64U32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, | 242 | void EmitConvertF64U32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst, |