Merge commit 'f61ecf3b' into night/light

# Conflicts:
#	crates/victory-gpu/src/shadow.rs
This commit is contained in:
local committed 2026-11-25 05:50:06 -06:00
commit 6553e304b3
20 files changed
+1452 -96

No files matched your search

+4
View File
@@ -866,6 +866,10 @@ impl State {
/// Viewports, scissors, the blend factor and the stencil reference: set
/// on the host list at once, and kept for [`State::replay`].
pub(crate) fn set_viewports(&mut self, list: &HostList, viewports: &[D3D12_VIEWPORT]) {
#[cfg(feature = "diagnostics")]
if let Some(v) = viewports.first() {
crate::host::spans::viewport(v.Width as u32, v.Height as u32);
}
self.viewports.clear();
self.viewports.extend_from_slice(viewports);
crate::draw::viewports(list, viewports);