mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 20:58:31 +09:00
BackendLoaderTest drives ProbeIndirectInstanceIdIncludesBaseInstance (now externally linked) against a fake GLES function table: conforming and ANGLE-style leaking drivers, the no-vertex-SSBO skip, draw-error inconclusiveness, object cleanup, and the FillInGLESCapabilities wiring end-to-end. SanityTest gains PromoteDrawParameterGlobalsToUniforms cases pinning the mg_ZeroBasedInstanceID rewrite and the last-SSBO-binding computation against a non-default binding count, with RAII capability restoration. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
419 B
CMake
21 lines
419 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
|
|
add_executable(
|
|
BackendLoaderTest
|
|
BackendLoaderTest.cpp
|
|
)
|
|
|
|
target_include_directories(BackendLoaderTest PRIVATE
|
|
${MGL_ROOT}/include
|
|
${MGL_ROOT}/MobileGL
|
|
)
|
|
|
|
target_link_libraries(
|
|
BackendLoaderTest PRIVATE
|
|
GTest::gtest_main
|
|
${LINK_LIBRARIES}
|
|
)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(BackendLoaderTest DISCOVERY_TIMEOUT 30)
|