mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-31 07:53:36 +08:00
shader_ir/warp: Implement FSWZADD
This commit is contained in:
@@ -783,6 +783,11 @@ private:
|
||||
return {};
|
||||
}
|
||||
|
||||
Id FSwizzleAdd(Operation operation) {
|
||||
UNIMPLEMENTED();
|
||||
return {};
|
||||
}
|
||||
|
||||
Id HNegate(Operation operation) {
|
||||
UNIMPLEMENTED();
|
||||
return {};
|
||||
@@ -1363,6 +1368,7 @@ private:
|
||||
&SPIRVDecompiler::Unary<&Module::OpTrunc, Type::Float>,
|
||||
&SPIRVDecompiler::Unary<&Module::OpConvertSToF, Type::Float, Type::Int>,
|
||||
&SPIRVDecompiler::Unary<&Module::OpConvertUToF, Type::Float, Type::Uint>,
|
||||
&SPIRVDecompiler::FSwizzleAdd,
|
||||
|
||||
&SPIRVDecompiler::Binary<&Module::OpIAdd, Type::Int>,
|
||||
&SPIRVDecompiler::Binary<&Module::OpIMul, Type::Int>,
|
||||
|
||||
Reference in New Issue
Block a user