Logo
Explore Help
Register Sign In
xuanchi/XCEngine
1
1
Fork 0
You've already forked XCEngine
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
c5605c2a3254a8a4fd7600926af8621a778ea615
XCEngine/tests/RHI/OpenGL/integration/sphere/Res/Shader/sphere.vert

18 lines
391 B
GLSL
Raw Normal View History

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
#version 460
layout(location = 0) in vec4 aPosition;
layout(location = 1) in vec2 aTexcoord;
out vec2 vTexcoord;
uniform mat4 gModelMatrix;
uniform mat4 gViewMatrix;
uniform mat4 gProjectionMatrix;
void main() {
vec4 positionWS = gModelMatrix * aPosition;
vec4 positionVS = gViewMatrix * positionWS;
gl_Position = gProjectionMatrix * positionVS;
Align OpenGL textured integration baselines
2026-03-26 01:07:36 +08:00
vTexcoord = aTexcoord;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 65ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API