mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-01 19:29:16 +01:00
[dxbc] Silence DclIndexRange warnings
This commit is contained in:
parent
f4d679caa2
commit
5a42512028
@ -21,7 +21,7 @@ namespace dxvk {
|
||||
m_msState.sampleMask = 0; // Set during bind
|
||||
m_msState.enableAlphaToCoverage = desc.AlphaToCoverageEnable;
|
||||
m_msState.enableAlphaToOne = VK_FALSE;
|
||||
m_msState.enableSampleShading = VK_FALSE;
|
||||
m_msState.enableSampleShading = VK_TRUE;
|
||||
m_msState.minSampleShading = 0.0f;
|
||||
|
||||
// In 11_0, there is no logic op state. Later versions
|
||||
|
@ -84,7 +84,7 @@ namespace dxvk {
|
||||
|
||||
case DxbcInstClass::GeometryEmit:
|
||||
return this->emitGeometryEmit(ins);
|
||||
|
||||
|
||||
case DxbcInstClass::TextureQuery:
|
||||
return this->emitTextureQuery(ins);
|
||||
|
||||
@ -192,6 +192,9 @@ namespace dxvk {
|
||||
case DxbcOpcode::DclGlobalFlags:
|
||||
return this->emitDclGlobalFlags(ins);
|
||||
|
||||
case DxbcOpcode::DclIndexRange:
|
||||
return; // not needed for anything
|
||||
|
||||
case DxbcOpcode::DclTemps:
|
||||
return this->emitDclTemps(ins);
|
||||
|
||||
|
@ -470,7 +470,10 @@ namespace dxvk {
|
||||
{ DxbcOperandKind::DstReg, DxbcScalarType::Float32 },
|
||||
} },
|
||||
/* DclIndexRange */
|
||||
{ },
|
||||
{ 2, DxbcInstClass::Declaration, {
|
||||
{ DxbcOperandKind::DstReg, DxbcScalarType::Float32 },
|
||||
{ DxbcOperandKind::Imm32, DxbcScalarType::Uint32 },
|
||||
} },
|
||||
/* DclGsOutputPrimitiveTopology */
|
||||
{ 0, DxbcInstClass::Declaration },
|
||||
/* DclGsInputPrimitive */
|
||||
|
Loading…
x
Reference in New Issue
Block a user