mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 16:24:29 +01:00
[dxvk] Enable creating full pre-rasterization pipeline libraries
This commit is contained in:
parent
17529101d5
commit
28ae85b7ab
@ -304,9 +304,18 @@ namespace dxvk {
|
||||
if (shaders.gs != nullptr)
|
||||
vsKey.addShader(shaders.gs);
|
||||
|
||||
if (vsKey.canUsePipelineLibrary())
|
||||
if (vsKey.canUsePipelineLibrary()) {
|
||||
vsLibrary = findPipelineLibraryLocked(vsKey);
|
||||
|
||||
if (!vsLibrary) {
|
||||
// If multiple shader stages are participating, create a
|
||||
// pipeline library so that it can potentially be reused.
|
||||
// Don't dispatch the pipeline library to a worker thread
|
||||
// since it should be compiled on demand anyway.
|
||||
vsLibrary = createPipelineLibraryLocked(vsKey);
|
||||
}
|
||||
}
|
||||
|
||||
if (vsLibrary) {
|
||||
DxvkShaderPipelineLibraryKey fsKey;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user