2026-03-17 03:39:27 +08:00
|
|
|
#include "fixtures/D3D12TestFixture.h"
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
#include "XCEngine/RHI/D3D12/D3D12Fence.h"
|
2026-03-17 03:39:27 +08:00
|
|
|
#include <Windows.h>
|
|
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
using namespace XCEngine::RHI;
|
|
|
|
|
|
2026-03-20 03:18:30 +08:00
|
|
|
TEST_F(D3D12TestFixture, Fence_Create_Success) {
|
2026-03-17 03:39:27 +08:00
|
|
|
ASSERT_NE(GetDevice(), nullptr);
|
|
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
FenceDesc desc = {};
|
|
|
|
|
desc.initialValue = 0;
|
|
|
|
|
desc.flags = 0;
|
|
|
|
|
|
|
|
|
|
RHIFence* fence = GetDevice()->CreateFence(desc);
|
|
|
|
|
ASSERT_NE(fence, nullptr);
|
|
|
|
|
|
|
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
2026-03-17 03:39:27 +08:00
|
|
|
}
|
|
|
|
|
|
2026-03-20 03:18:30 +08:00
|
|
|
TEST_F(D3D12TestFixture, Fence_Get_CompletedValue_Initial) {
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
FenceDesc desc = {};
|
|
|
|
|
desc.initialValue = 0;
|
|
|
|
|
desc.flags = 0;
|
|
|
|
|
|
|
|
|
|
RHIFence* fence = GetDevice()->CreateFence(desc);
|
|
|
|
|
ASSERT_NE(fence, nullptr);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
|
|
|
|
EXPECT_EQ(fence->GetCompletedValue(), 0);
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
|
|
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
2026-03-17 03:39:27 +08:00
|
|
|
}
|
|
|
|
|
|
2026-03-20 03:18:30 +08:00
|
|
|
TEST_F(D3D12TestFixture, Fence_Signal_Wait) {
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
FenceDesc desc = {};
|
|
|
|
|
desc.initialValue = 0;
|
|
|
|
|
desc.flags = 0;
|
2026-03-17 03:39:27 +08:00
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
RHIFence* fence = GetDevice()->CreateFence(desc);
|
|
|
|
|
ASSERT_NE(fence, nullptr);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
const UINT64 fenceValue = 100;
|
|
|
|
|
GetCommandQueue()->Signal(fence, fenceValue);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
fence->Wait(fenceValue);
|
2026-03-17 03:39:27 +08:00
|
|
|
EXPECT_EQ(fence->GetCompletedValue(), fenceValue);
|
|
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
2026-03-17 03:39:27 +08:00
|
|
|
}
|
|
|
|
|
|
2026-03-20 03:18:30 +08:00
|
|
|
TEST_F(D3D12TestFixture, Fence_Set_EventOnCompletion) {
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
FenceDesc desc = {};
|
|
|
|
|
desc.initialValue = 0;
|
|
|
|
|
desc.flags = 0;
|
|
|
|
|
|
|
|
|
|
auto* fence = new D3D12Fence();
|
|
|
|
|
ASSERT_TRUE(fence->Initialize(GetDevice()->GetDevice(), 200));
|
2026-03-17 03:39:27 +08:00
|
|
|
|
|
|
|
|
const UINT64 fenceValue = 200;
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
GetCommandQueue()->Signal(fence, fenceValue);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
|
|
|
|
HANDLE eventHandle = CreateEvent(nullptr, FALSE, FALSE, nullptr);
|
|
|
|
|
ASSERT_NE(eventHandle, nullptr);
|
|
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
fence->GetFence()->SetEventOnCompletion(fenceValue, eventHandle);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
|
|
|
|
DWORD waitResult = WaitForSingleObject(eventHandle, 1000);
|
|
|
|
|
EXPECT_EQ(waitResult, WAIT_OBJECT_0);
|
|
|
|
|
|
|
|
|
|
EXPECT_EQ(fence->GetCompletedValue(), fenceValue);
|
|
|
|
|
|
|
|
|
|
CloseHandle(eventHandle);
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
2026-03-17 03:39:27 +08:00
|
|
|
}
|
|
|
|
|
|
2026-03-20 03:18:30 +08:00
|
|
|
TEST_F(D3D12TestFixture, Fence_Signal_Multiple) {
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
FenceDesc desc = {};
|
|
|
|
|
desc.initialValue = 0;
|
|
|
|
|
desc.flags = 0;
|
|
|
|
|
|
|
|
|
|
RHIFence* fence = GetDevice()->CreateFence(desc);
|
|
|
|
|
ASSERT_NE(fence, nullptr);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
|
|
|
|
const UINT64 value1 = 1;
|
|
|
|
|
const UINT64 value2 = 2;
|
|
|
|
|
const UINT64 value3 = 3;
|
|
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
GetCommandQueue()->Signal(fence, value1);
|
|
|
|
|
GetCommandQueue()->Signal(fence, value2);
|
|
|
|
|
GetCommandQueue()->Signal(fence, value3);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
auto* d3d12fence = static_cast<D3D12Fence*>(fence);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
|
|
|
|
HANDLE eventHandle = CreateEvent(nullptr, FALSE, FALSE, nullptr);
|
|
|
|
|
ASSERT_NE(eventHandle, nullptr);
|
|
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
d3d12fence->GetFence()->SetEventOnCompletion(value3, eventHandle);
|
2026-03-17 03:39:27 +08:00
|
|
|
|
|
|
|
|
DWORD waitResult = WaitForSingleObject(eventHandle, 1000);
|
|
|
|
|
EXPECT_EQ(waitResult, WAIT_OBJECT_0);
|
|
|
|
|
|
|
|
|
|
EXPECT_EQ(fence->GetCompletedValue(), value3);
|
|
|
|
|
|
|
|
|
|
CloseHandle(eventHandle);
|
2026-03-24 01:53:00 +08:00
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(D3D12TestFixture, Fence_Timeline_SignalIncrement) {
|
|
|
|
|
auto* fence = new D3D12Fence();
|
|
|
|
|
ASSERT_TRUE(fence->Initialize(GetDevice()->GetDevice(), 0));
|
|
|
|
|
|
|
|
|
|
fence->Signal(1);
|
|
|
|
|
fence->Wait(1);
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 1u);
|
|
|
|
|
|
|
|
|
|
fence->Signal(5);
|
|
|
|
|
fence->Wait(5);
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 5u);
|
|
|
|
|
|
|
|
|
|
fence->Signal(10);
|
|
|
|
|
fence->Wait(10);
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 10u);
|
|
|
|
|
|
|
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(D3D12TestFixture, Fence_Timeline_SignalDecrement) {
|
|
|
|
|
auto* fence = new D3D12Fence();
|
|
|
|
|
ASSERT_TRUE(fence->Initialize(GetDevice()->GetDevice(), 0));
|
|
|
|
|
|
|
|
|
|
fence->Signal(5);
|
|
|
|
|
fence->Wait(5);
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 5u);
|
|
|
|
|
|
|
|
|
|
fence->Signal(3);
|
|
|
|
|
fence->Wait(3);
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 3u);
|
|
|
|
|
|
|
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(D3D12TestFixture, Fence_Timeline_MultipleSignals) {
|
|
|
|
|
auto* fence = new D3D12Fence();
|
|
|
|
|
ASSERT_TRUE(fence->Initialize(GetDevice()->GetDevice(), 0));
|
|
|
|
|
|
|
|
|
|
fence->Signal(10);
|
|
|
|
|
fence->Wait(10);
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 10u);
|
|
|
|
|
|
|
|
|
|
fence->Signal(20);
|
|
|
|
|
fence->Wait(20);
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 20u);
|
|
|
|
|
|
|
|
|
|
fence->Signal(30);
|
|
|
|
|
fence->Wait(30);
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 30u);
|
|
|
|
|
|
|
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(D3D12TestFixture, Fence_Timeline_WaitSmallerThanCompleted) {
|
|
|
|
|
auto* fence = new D3D12Fence();
|
|
|
|
|
ASSERT_TRUE(fence->Initialize(GetDevice()->GetDevice(), 0));
|
|
|
|
|
|
|
|
|
|
fence->Signal(5);
|
|
|
|
|
fence->Wait(5);
|
|
|
|
|
|
|
|
|
|
fence->Wait(3);
|
|
|
|
|
|
|
|
|
|
EXPECT_GE(fence->GetCompletedValue(), 5u);
|
|
|
|
|
|
refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency
- Fix OpenGL unit test GLAD initialization by using gladLoadGL()
instead of gladLoadGLLoader(wglGetProcAddress) for fallback support
- Migrate remaining tests to use gtest_discover_tests for granular
test discovery (math, core, containers, memory, threading, debug,
components, scene, resources, input, opengl)
- Remove obsolete TEST_RESOURCES_DIR and copy_directory commands
from OpenGL unit test CMakeLists (minimal/Res doesn't exist)
- Update TEST_SPEC.md with performance metrics and per-module
build/test commands for faster development workflow
- Update CMake path references to use lowercase paths
2026-03-23 00:43:02 +08:00
|
|
|
fence->Shutdown();
|
|
|
|
|
delete fence;
|
|
|
|
|
}
|