mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[dxvk] Don't redundantly clear unused vertex strides to zero
We're already doing this when setting the input layout, and we don't touch the strides in other parts of the code. May save a handful of CPU cycles.
This commit is contained in:
parent
70ef456911
commit
1117daec24
@ -3624,9 +3624,6 @@ namespace dxvk {
|
||||
m_state.gp.state.ilBindings[i].stride = m_state.vi.vertexStrides[binding];
|
||||
}
|
||||
|
||||
for (uint32_t i = m_state.gp.state.ilBindingCount; i < MaxNumVertexBindings; i++)
|
||||
m_state.gp.state.ilBindings[i].stride = 0;
|
||||
|
||||
// Check which dynamic states need to be active. States that
|
||||
// are not dynamic will be invalidated in the command buffer.
|
||||
m_flags.clr(DxvkContextFlag::GpDynamicBlendConstants,
|
||||
|
Loading…
x
Reference in New Issue
Block a user