Jump to content
  • Advertisement
Sign in to follow this  
dbuzaleski

DX11 Pix Crashes, Code works fine elsewhere!

This topic is 2684 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
Yeah PIX crashing is likely their fault not yours, its an unstable piece of crap, great when it works, but otherwise somewhat unreliable.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!