early-access version 2176

This commit is contained in:
pineappleEA
2021-11-02 02:07:09 +01:00
parent b129443b21
commit 2b3decfff3
4 changed files with 5 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ namespace Shader::Backend::GLASM {
#define NotImplemented() throw NotImplementedException("GLASM instruction {}", __LINE__)
static void DefinePhi(EmitContext& ctx, IR::Inst& phi) {
switch (phi.Arg(0).Type()) {
switch (phi.Type()) {
case IR::Type::U1:
case IR::Type::U32:
case IR::Type::F32: