Merge local/next into day/shaders; pipeline workers are all woken
Queue: passes over the screen first (local/next), then what draws asked for, the early ones, and those known to take long by a quarter of the workers. start() woke one worker, which could be one of the two that take passes over the screen alone: the pipeline then waited for the next push. All are woken now. victory warm goes through the pipelines no run drew with in no order, 40 a process. victory translate: VICTORY_HOST_RDNA=1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
af3c946271
51 files changed
+7121
-558
No files matched your search
@@ -151,6 +151,17 @@ fn host_blend(blend: &D3D12_BLEND_DESC, targets: &D3D12_RT_FORMAT_ARRAY) -> D3D1
|
||||
}
|
||||
|
||||
impl GraphicsState {
|
||||
/// Whether the draws are a pass over the screen: no vertex input, no
|
||||
/// depth or stencil, a target. Such passes fill tables once; their shaders
|
||||
/// are few. (After Belobug/VIctory-Belobug-AMD 18e57db8.)
|
||||
pub(crate) fn screen_pass(&self) -> bool {
|
||||
self.inputs.is_empty()
|
||||
&& (self.depth_format == DXGI_FORMAT_UNKNOWN
|
||||
|| !self.depth.DepthEnable.as_bool() && !self.depth.StencilEnable.as_bool())
|
||||
&& self.targets.NumRenderTargets > 0
|
||||
&& self.topology == D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE
|
||||
}
|
||||
|
||||
/// Takes in one subobject of a stream: its type, then its data at +4
|
||||
/// (+8 for those holding pointers).
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user