mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[spirv] Support OpVectorExtractDynamic instruction
This commit is contained in:
parent
cb274e040d
commit
70786aeee8
@ -1446,6 +1446,21 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
uint32_t SpirvModule::opVectorExtractDynamic(
|
||||
uint32_t resultType,
|
||||
uint32_t vector,
|
||||
uint32_t index) {
|
||||
uint32_t resultId = this->allocateId();
|
||||
|
||||
m_code.putIns (spv::OpVectorExtractDynamic, 5);
|
||||
m_code.putWord(resultType);
|
||||
m_code.putWord(resultId);
|
||||
m_code.putWord(vector);
|
||||
m_code.putWord(index);
|
||||
return resultId;
|
||||
}
|
||||
|
||||
|
||||
uint32_t SpirvModule::opVectorShuffle(
|
||||
uint32_t resultType,
|
||||
uint32_t vectorLeft,
|
||||
|
@ -543,6 +543,11 @@ namespace dxvk {
|
||||
uint32_t resultType,
|
||||
uint32_t operand);
|
||||
|
||||
uint32_t opVectorExtractDynamic(
|
||||
uint32_t resultType,
|
||||
uint32_t vector,
|
||||
uint32_t index);
|
||||
|
||||
uint32_t opVectorShuffle(
|
||||
uint32_t resultType,
|
||||
uint32_t vectorLeft,
|
||||
|
Loading…
x
Reference in New Issue
Block a user