shader_ir/warp: Implement FSWZADD

This commit is contained in:
ReinUsesLisp 2019-11-02 23:44:46 -03:00
parent 08b2b1080a
commit 56e237d1f9
No known key found for this signature in database
GPG key ID: 2DFC508897B39CFE
5 changed files with 44 additions and 0 deletions

View file

@ -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>,