adding D3D11 unit tests, removing raw HLSL support

This commit is contained in:
2025-09-12 00:54:15 +02:00
parent 6dd129cf35
commit 62beb8d316
27 changed files with 381 additions and 106 deletions

View File

@@ -280,6 +280,10 @@ void TestBufferComputeWrite()
const uint8_t shader_bytecode[] = {
#include "Shaders/Vulkan-OpenGL/SimpleBufferWrite.comp.glsl.h"
};
#elif defined(D3D11_ENABLED)
const uint8_t shader_bytecode[] = {
#include "Shaders/D3D11/SimpleBufferWrite.cso.h"
};
#endif
PulseBufferCreateInfo buffer_create_info = { 0 };
@@ -351,6 +355,10 @@ void TestBufferComputeCopy()
const uint8_t shader_bytecode[] = {
#include "Shaders/Vulkan-OpenGL/BufferCopy.comp.glsl.h"
};
#elif defined(D3D11_ENABLED)
const uint8_t shader_bytecode[] = {
#include "Shaders/D3D11/BufferCopy.cso.h"
};
#endif
uint32_t data[256];