:ringed_planet: Asteroids sample demonstrating multi-threaded rendering of large number random-generated asteroids with Methane Kit framework using DirectX 12, Vulkan and Metal
Describe the bug
Windows DirectX build fails on DXC HLSL shader compilation with Pipeline State validation error. Shader compilation passes when shader validation is manually disabled (as the result compiled shader is not usable). The same works fine in Azure Pipelines with shader validation enabled.
Steps To Reproduce
Steps to reproduce the behavior:
CUSTOMBUILD : error : Container part 'Pipeline State Validation' does not match expected for module. Use /Zi for source location. [D:\a\MethaneAsteroids\MethaneAsteroids\Build\Output\VS2022-Win64-DX-Default\Build\Modules\Simulation\92cb9df0f32d066bd409e0fe32d11575.vcxproj]
Validation failed.
Expected behavior
DXC shader compilation should work normally with validation enabled, as it works in Azure Pipelines.
Describe the bug Windows DirectX build fails on DXC HLSL shader compilation with Pipeline State validation error. Shader compilation passes when shader validation is manually disabled (as the result compiled shader is not usable). The same works fine in Azure Pipelines with shader validation enabled.
Steps To Reproduce Steps to reproduce the behavior:
-DMETHANE_SHADERS_VALIDATION_ENABLED:BOOL=OFF
toON
Expected behavior DXC shader compilation should work normally with validation enabled, as it works in Azure Pipelines.