2
0

TestComputeWrapper.cpp 701 B

1234567891011121314151617181920212223
  1. // Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
  2. // SPDX-FileCopyrightText: 2026 Jorrit Rouwe
  3. // SPDX-License-Identifier: MIT
  4. #include <Jolt/Jolt.h>
  5. #ifdef JPH_USE_CPU_COMPUTE
  6. #define JPH_SHADER_NAME TestCompute
  7. #include <Jolt/Compute/CPU/WrapShaderBegin.h>
  8. #include "TestCompute.hlsl"
  9. #include <Jolt/Compute/CPU/WrapShaderBindings.h>
  10. #include "TestComputeBindings.h"
  11. #include <Jolt/Compute/CPU/WrapShaderEnd.h>
  12. #define JPH_SHADER_NAME TestCompute2
  13. #include <Jolt/Compute/CPU/WrapShaderBegin.h>
  14. #include "TestCompute2.hlsl"
  15. #include <Jolt/Compute/CPU/WrapShaderBindings.h>
  16. #include "TestCompute2Bindings.h"
  17. #include <Jolt/Compute/CPU/WrapShaderEnd.h>
  18. #endif // JPH_USE_CPU_COMPUTE