mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +00:00
Identify 'POS' as an input position semantic. Refs #107
This commit is contained in:
1 parent
0682842c9d
commit
5e74364ab1
1 file changed
+3
-1
@@ -4676,7 +4676,9 @@ void D3D11DebugManager::RenderMesh(uint32_t frameID, const vector<uint32_t> &eve
|
||||
{
|
||||
const D3D11_INPUT_ELEMENT_DESC &layout = curLayout[i];
|
||||
|
||||
if((!_stricmp(layout.SemanticName, "POSITION") || !_stricmp(layout.SemanticName, "SV_Position")) &&
|
||||
if((!_stricmp(layout.SemanticName, "POSITION") ||
|
||||
!_stricmp(layout.SemanticName, "POS") ||
|
||||
!_stricmp(layout.SemanticName, "SV_Position")) &&
|
||||
layout.SemanticIndex == 0) // need to get name from input config
|
||||
{
|
||||
D3D11_INPUT_ELEMENT_DESC el = layout;
|
||||
|
||||
Reference in new issue
Block a user