Jump to content
  • Advertisement
Sign in to follow this  
T_ice

DX11 [DX11] [PIX] CreateGeometryShaderWithStreamOutput E_Fail

This topic is 2554 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

Hello,

I got an issue with creating an instance of a geometry shader with stream output (and no rasterization stream). At runtime there is no problem and the shader is created succesfully without any warnings. When I try to profile my application with PIX it seems unable to playback the CreateGeometryShaderWithStreamOutput method call for unknown reasons.

PIX shows the following message box at the point:
[attachment=5013:PIX_CreateGeometryWithStreamOutput_E_Fail.png]


The shader is rather simple and straight forward, I doubt it even is the problem:

struct GSI_Casing
{
uint X8_Y8_Z8_Case8 : UV_Position;
};

struct GSO_Casing
{
uint X8_Y8_Z8_Case8 : UV_Position;
};

[maxvertexcount(1)]
void GS_Casing (point GSI_Casing input[1], inout PointStream<GSO_Casing> stream)
{
uint voxelCase = input[0].X8_Y8_Z8_Case8 & 0x000000FF;

if (voxelCase > 0x00 && voxelCase < 0xFF)
{
stream.Append((GSO_Casing)input[0]);
}
}


This problem is annoying because it completely prevents further debugging when my application becomes more complex later on. I have noticed other people encountered the same thing, but none have found a solution yet.

Is there anyway to make PIX more verbose regarding the real problem it is encountering?
I created the ID3D11Device with the D3D11_CREATE_DEVICE_DEBUG flag (switching it off didn't matter, error remains).

I am using the SDK version of June 2010 and PIX 9.29.1962.0000 (32-bit).

Thanks for reading.

Regards,

T_Ice

Share this post


Link to post
Share on other sites
Advertisement
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!