mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 13:44:58 +00:00
- Updated MeshPayload structure to include tangents. - Modified BuildPayloadFromBspBuffer to compute tangents based on vertex normals. - Enhanced AppendMeshPayload to handle tangents, either from mesh data or generated. - Updated PushMeshToLua to expose tangents to Lua. - Adjusted ReadVertexArray to read tangents from Lua. feat(shader): implement ShaderPipelineValidator for shader validation - Added ShaderPipelineValidator class to validate shader inputs/outputs and vertex layouts. - Implemented methods to extract shader attributes and validate against vertex layouts. - Added comprehensive validation checks for shader pipelines, including SPIR-V requirements. - Created a logger interface for validation results. test(shader): add unit tests for ShaderPipelineValidator - Implemented extensive unit tests for shader validation, covering various scenarios. - Tests include extraction of shader inputs/outputs, validation of vertex layout matches, stride checks, and interface matching. - Added edge case tests for empty shaders and comments in GLSL code.
24 lines
542 B
JSON
24 lines
542 B
JSON
{
|
|
"version": 4,
|
|
"vendor": {
|
|
"conan": {}
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "vita-release",
|
|
"inherits": [
|
|
"conan-release"
|
|
],
|
|
"cacheVariables": {
|
|
"ENABLE_VITA": "ON"
|
|
},
|
|
"environment": {
|
|
"VITASDK": "/usr/local/vitasdk"
|
|
}
|
|
}
|
|
],
|
|
"include": [
|
|
"build-ninja/build/Release/generators/CMakePresets.json",
|
|
"build/Release/generators/CMakePresets.json"
|
|
]
|
|
} |