mirror of https://github.com/doitsujin/dxvk
[dxbc] Add gs_vertex_in to the entry point interface
Fixes invalid SPIR-V generated in the Blacksmith demo (#267).
This commit is contained in:
parent
d91114d733
commit
5eaacf7459
|
@ -5790,6 +5790,8 @@ namespace dxvk {
|
||||||
m_perVertexIn = m_module.newVar(
|
m_perVertexIn = m_module.newVar(
|
||||||
ptrTypeId, spv::StorageClassInput);
|
ptrTypeId, spv::StorageClassInput);
|
||||||
m_module.setDebugName(m_perVertexIn, varName);
|
m_module.setDebugName(m_perVertexIn, varName);
|
||||||
|
|
||||||
|
m_entryPointInterfaces.push_back(m_perVertexIn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue