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