mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 10:54:16 +01:00
[spirv] Implement opTranspose
This commit is contained in:
parent
e144c17363
commit
edf0661994
@ -1961,6 +1961,19 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
uint32_t SpirvModule::opTranspose(
|
||||
uint32_t resultType,
|
||||
uint32_t matrix) {
|
||||
uint32_t resultId = this->allocateId();
|
||||
|
||||
m_code.putIns(spv::OpTranspose, 4);
|
||||
m_code.putWord(resultType);
|
||||
m_code.putWord(resultId);
|
||||
m_code.putWord(matrix);
|
||||
return resultId;
|
||||
}
|
||||
|
||||
|
||||
uint32_t SpirvModule::opFFma(
|
||||
uint32_t resultType,
|
||||
uint32_t a,
|
||||
|
@ -707,6 +707,10 @@ namespace dxvk {
|
||||
uint32_t resultType,
|
||||
uint32_t vector,
|
||||
uint32_t matrix);
|
||||
|
||||
uint32_t opTranspose(
|
||||
uint32_t resultType,
|
||||
uint32_t matrix);
|
||||
|
||||
uint32_t opFFma(
|
||||
uint32_t resultType,
|
||||
|
Loading…
x
Reference in New Issue
Block a user