Changeset 103574 in vbox
- Timestamp:
- Feb 26, 2024 4:05:40 PM (9 months ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx/VBoxDX.cpp
r102809 r103574 2950 2950 UINT Flags, FLOAT Depth, UINT8 Stencil) 2951 2951 { 2952 vgpu10ClearDepthStencilView(pDevice, (uint16)Flags, Stencil, pDepthStencilView->uDepthStencilViewId, Depth); 2952 uint16_t svgaFlags = 0; 2953 if (Flags & D3D10_DDI_CLEAR_DEPTH) 2954 svgaFlags |= SVGA3D_CLEAR_DEPTH; 2955 if (Flags & D3D10_DDI_CLEAR_STENCIL) 2956 svgaFlags |= SVGA3D_CLEAR_STENCIL; 2957 vgpu10ClearDepthStencilView(pDevice, svgaFlags, Stencil, pDepthStencilView->uDepthStencilViewId, Depth); 2953 2958 } 2954 2959 -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-dx11.cpp
r103417 r103574 8356 8356 AssertRCReturn(rc, rc); 8357 8357 8358 pDevice->pImmediateContext->ClearDepthStencilView(pDXView->u.pDepthStencilView, flags, depth, stencil); 8358 UINT ClearFlags = 0; 8359 if (flags & SVGA3D_CLEAR_DEPTH) 8360 ClearFlags |= D3D11_CLEAR_DEPTH; 8361 if (flags & SVGA3D_CLEAR_STENCIL) 8362 ClearFlags |= D3D11_CLEAR_STENCIL; 8363 8364 pDevice->pImmediateContext->ClearDepthStencilView(pDXView->u.pDepthStencilView, ClearFlags, depth, stencil); 8359 8365 return VINF_SUCCESS; 8360 8366 }
Note:
See TracChangeset
for help on using the changeset viewer.