mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Shader Cahe: Fix Phi Nodes on GLASM.
This commit is contained in:
parent
194579bc4f
commit
2d4bbd83e6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue