Merge local/next into night/textures
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
b0c7fa5b57
11 files changed
+813
-14
No files matched your search
@@ -872,6 +872,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);
|
||||
|
||||
Reference in new issue
Block a user