mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-01 19:29:16 +01:00
[spirv] Implement opIsNan
This commit is contained in:
parent
abff2afeaf
commit
2e51e28849
@ -2719,6 +2719,19 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
uint32_t SpirvModule::opIsNan(
|
||||||
|
uint32_t resultType,
|
||||||
|
uint32_t operand) {
|
||||||
|
uint32_t resultId = this->allocateId();
|
||||||
|
|
||||||
|
m_code.putIns (spv::OpIsNan, 4);
|
||||||
|
m_code.putWord(resultType);
|
||||||
|
m_code.putWord(resultId);
|
||||||
|
m_code.putWord(operand);
|
||||||
|
return resultId;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
uint32_t SpirvModule::opFunctionCall(
|
uint32_t SpirvModule::opFunctionCall(
|
||||||
uint32_t resultType,
|
uint32_t resultType,
|
||||||
uint32_t functionId,
|
uint32_t functionId,
|
||||||
|
@ -942,6 +942,10 @@ namespace dxvk {
|
|||||||
uint32_t operand1,
|
uint32_t operand1,
|
||||||
uint32_t operand2);
|
uint32_t operand2);
|
||||||
|
|
||||||
|
uint32_t opIsNan(
|
||||||
|
uint32_t resultType,
|
||||||
|
uint32_t operand);
|
||||||
|
|
||||||
uint32_t opFunctionCall(
|
uint32_t opFunctionCall(
|
||||||
uint32_t resultType,
|
uint32_t resultType,
|
||||||
uint32_t functionId,
|
uint32_t functionId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user