[D3D12] Fix bindless root signatures, ensure shaders are pre-translated

This commit is contained in:
Triang3l
2021-04-27 18:29:23 +03:00
parent 913e1e949c
commit ec41dfc995
2 changed files with 65 additions and 47 deletions

View File

@@ -242,7 +242,8 @@ class PipelineCache {
IDxcCompiler* dxc_compiler = nullptr);
// If draw_util::IsRasterizationPotentiallyDone is false, the pixel shader
// MUST be made nullptr BEFORE calling this!
// MUST be made nullptr BEFORE calling this! The shaders must be translated
// and valid.
bool GetCurrentStateDescription(
D3D12Shader::D3D12Translation* vertex_shader,
D3D12Shader::D3D12Translation* pixel_shader,