mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-01 10:54:14 +01:00
[spirv] Implement opVectorTimesScalar
This commit is contained in:
parent
f1a8e02e0f
commit
a770c73dbc
src/spirv
@ -1755,6 +1755,21 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
uint32_t SpirvModule::opVectorTimesScalar(
|
||||
uint32_t resultType,
|
||||
uint32_t vector,
|
||||
uint32_t scalar) {
|
||||
uint32_t resultId = this->allocateId();
|
||||
|
||||
m_code.putIns(spv::OpVectorTimesScalar, 5);
|
||||
m_code.putWord(resultType);
|
||||
m_code.putWord(resultId);
|
||||
m_code.putWord(vector);
|
||||
m_code.putWord(scalar);
|
||||
return resultId;
|
||||
}
|
||||
|
||||
|
||||
uint32_t SpirvModule::opFFma(
|
||||
uint32_t resultType,
|
||||
uint32_t a,
|
||||
|
@ -642,6 +642,11 @@ namespace dxvk {
|
||||
uint32_t a,
|
||||
uint32_t b);
|
||||
|
||||
uint32_t opVectorTimesScalar(
|
||||
uint32_t resultType,
|
||||
uint32_t vector,
|
||||
uint32_t scalar);
|
||||
|
||||
uint32_t opFFma(
|
||||
uint32_t resultType,
|
||||
uint32_t a,
|
||||
|
Loading…
x
Reference in New Issue
Block a user