1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 10:24:10 +01:00

[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:
Philip Rebohle 2018-04-23 18:07:31 +02:00
parent d91114d733
commit 5eaacf7459

View File

@ -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);
} }