d3d12: Add ASSERTED to variables only used in debug builds to fix build MSVC with...
authorSil Vilerino <sivileri@microsoft.com>
Thu, 15 Dec 2022 17:24:17 +0000 (12:24 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 15 Dec 2022 21:06:12 +0000 (21:06 +0000)
commit002096fcc45fb35f5d6370b22f97343853f72c8a
treefec2c65b350dea3663e4a44852377420558816bf
parent5df50292d60dd77f38a19f5b3f7568a7a83d7cd1
d3d12: Add ASSERTED to variables only used in debug builds to fix build MSVC with C4189 errors

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20340>
src/gallium/drivers/d3d12/d3d12_residency.cpp
src/gallium/drivers/d3d12/d3d12_video_dec.cpp
src/gallium/drivers/d3d12/d3d12_video_dec_references_mgr.cpp
src/gallium/drivers/d3d12/d3d12_video_encoder_bitstream.cpp
src/gallium/drivers/d3d12/d3d12_video_encoder_nalu_writer_h264.cpp
src/gallium/drivers/d3d12/d3d12_video_encoder_nalu_writer_hevc.cpp
src/gallium/drivers/d3d12/d3d12_video_encoder_references_manager_h264.cpp
src/gallium/drivers/d3d12/d3d12_video_encoder_references_manager_hevc.cpp