Pix Crashes, Code works fine elsewhere!

Started by
0 comments, last by marius1930 13 years ago
I have a DX11 program that attempts to use a Hull shader and Domain Shader. It appears to work fine on its own and in the VS2010 debugger. However, while trying to debug the pixel shader, I'm having trouble getting the effect I want, so I tried to start the whole thing in PIX to see if I could do some more detailed debugging, and the whole app is crashing before I get a single frame displayed. Sometimes I'm getting a drive reset, which at least lets me get back to pix and see an error log, other times the whole computer locks.

There's nothing particular clever in the program itself, so I'm fine with posting all the code if needed, but for now I'll just list the errors I'm seeing in the log from PIX when it crashes. Has anyone seen this? Any idea how to crrect? It seems to be saying there is a mismatch in my Hull and Vertext shaders, but there's not...at least, not that I can see. Any suggestions of where to look would be much appreciated.



Frame 000001 ........PRE: <this=0x02102ff0>IDXGISwapChain::Present(0, 0)
D3D11: WARNING: ID3D11Buffer::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Mismatched topology. Current Hull Shader expects input Control Point count of 3, but Input Assembler topology is not set to the matching PATCHLIST topology. [ EXECUTION ERROR #2097222: DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (POSITION,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (NORMAL,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. Semantic 'TEXCOORD' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,1) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,2) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,3) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Texcoord' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Color' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Color' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (UVSize,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: The declared input primitive type in the current Geometry Shader does not match the current Tessellator output topology (defined by the Hull Shader). [ EXECUTION ERROR #360: DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Mismatched topology. Current Hull Shader expects input Control Point count of 3, but Input Assembler topology is not set to the matching PATCHLIST topology. [ EXECUTION ERROR #2097222: DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (POSITION,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (NORMAL,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. Semantic 'TEXCOORD' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,1) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,2) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,3) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Texcoord' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Color' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Color' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (UVSize,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: The declared input primitive type in the current Geometry Shader does not match the current Tessellator output topology (defined by the Hull Shader). [ EXECUTION ERROR #360: DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Mismatched topology. Current Hull Shader expects input Control Point count of 3, but Input Assembler topology is not set to the matching PATCHLIST topology. [ EXECUTION ERROR #2097222: DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (POSITION,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (NORMAL,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Hull Shader linkage error: Signatures between stages are incompatible. Semantic 'TEXCOORD' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,1) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,2) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (World,3) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Texcoord' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Color' is defined for mismatched hardware registers between the output stage and input stage. [ EXECUTION ERROR #343: DEVICE_SHADER_LINKAGE_REGISTERINDEX ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. Semantic 'Color' of the input stage has a hardware register component mask that is not a subset of the output of the previous stage. [ EXECUTION ERROR #345: DEVICE_SHADER_LINKAGE_REGISTERMASK ]
D3D11: ERROR: ID3D11DeviceContext::Draw: Domain Shader - Geometry Shader linkage error: Signatures between stages are incompatible. The input stage requires Semantic/Index (UVSize,0) as input, but it is not provided by the output stage. [ EXECUTION ERROR #342: DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND ]
D3D11: ERROR: ID3D11DeviceContext::Draw: The declared input primitive type in the current Geometry Shader does not match the current Tessellator output topology (defined by the Hull Shader). [ EXECUTION ERROR #360: DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH ]
Frame 000001 ........POST: <S_OK><this=0x02102ff0> IDXGISwapChain::Present(0, 0)
Frame 000001 ....POST: <> Frame(1)



As I said, I'm willing to post all code and such, but don't want to force anyone to read through it all until needed. Thanks in advance for any help.


NOTE: I found several posts regarding that same "mismatched topology" error referencing the effects framework, but I only have one set of shaders at present for debugging and don't think that really applies to my issue.
StupidStupidStupid game companies.
Advertisement
Yeah PIX crashing is likely their fault not yours, its an unstable piece of crap, great when it works, but otherwise somewhat unreliable.

This topic is closed to new replies.

Advertisement