Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8
-
None
-
bd2047e4c (dev)
Description
The doublesided logic makes D3D12 fail pipeline creation with
ID3D12Device::CreateGraphicsPipelineState: Internal runtime error validating PS stage in a PSOs used with view instancing. [ STATE_CREATION ERROR #1105: CREATEGRAPHICSPIPELINESTATE_RUNTIME_INTERNAL_ERROR]
This is due to gl_FrontFacing, that becomes more or less this with HLSL via SPIRV-Cross:
static bool gl_FrontFacing;
...
struct SPIRV_Cross_Input
{
...
bool gl_FrontFacing : SV_IsFrontFace;
};
We do not know why SV_IsFrontFace makes it choke when view instancing (== multiview) is in use.