Closed LinkClinton closed 7 years ago
I have tried this code.
But I failed.
Have you tried to create D3D12 device in debug and check the output VS debug window? (with unsafe debugging mode enabled)
Your issue report is unusable otherwise
Oh! You are right. I get why I create it failed.
And when I compile a shader , is CompilationResult.HasErrors
ok?
I get messages that show error, but HasErrors
is false.
Yeah,It is not a issue. Thx.
It is ok for this code:
float4 PSmain(PsInput input) : SV_TARGET { return input.color;
but bad for this:
float4 PSmain(PsInput input) : SV_TARGET { return cube_texture.Sample(Sampler, input.tex); }
HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments in CreateGraphicsPipelineState