[client] network: fix ANGLE decoder synchronization

The dequant shader returned before workgroup barriers for missing
blocks. Mask those blocks to zero so ANGLE's D3D compiler accepts the
shader while every invocation reaches each barrier.

The vcpkg ANGLE build also omitted upstream shared-context locking.
Enable both locking definitions so decode dispatches cannot race the
render thread through ANGLE's shared D3D11 state manager.
This commit is contained in:
Geoffrey McRae
2026-10-03 10:41:57 +10:00
parent f6c32c2c1e
commit 7f63dc986e
3 changed files with 28 additions and 14 deletions

View File

@@ -1,6 +1,11 @@
cmake_minimum_required(VERSION 3.20)
project(looking-glass-client C CXX)
if(WIN32)
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
"${PROJECT_SOURCE_DIR}/cmake/vcpkg-triplets/x64-windows-lg.cmake")
endif()
get_filename_component(PROJECT_TOP "${PROJECT_SOURCE_DIR}/.." ABSOLUTE)
if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)