You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use 0.4 for depth unorm value in depth_compare_func rendering test (#4374)
This PR make depth_compare_func rendering operation test use 0.4 for
depth unrom value instead of 0.5001, which is exactly representable
in both depth16unorm and depth24unorm, and closely approximated
in depth32float.
This can help prevent shaders and depthClearValue get rounded in
different way, and make Qualcomm devices pass the test when using
DXGI_FORMAT_D24_UNORM_S8_UINT format for depth24plus-stencil8.
* Update src/webgpu/api/operation/rendering/depth.spec.ts
Co-authored-by: Kai Ninomiya <[email protected]>
---------
Co-authored-by: Kai Ninomiya <[email protected]>
0 commit comments