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.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-122142 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
538878,7 | Workaround to allow NoCulling with D3D12 with multiview to function to a degree | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |