This commit is contained in:
2025-04-13 20:31:43 +02:00
parent 34d5b9a921
commit 9b71757a44
8 changed files with 547 additions and 13 deletions

View File

@@ -9,10 +9,6 @@
#ifndef PULSE_OPENGL_H_
#define PULSE_OPENGL_H_
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#define OPENGL_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)
#include "OpenGLEnums.h"

View File

@@ -7,6 +7,10 @@
#include <Pulse.h>
#include "../../PulseInternal.h"
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#include "Soft.h"
#include "SoftDevice.h"

View File

@@ -9,10 +9,6 @@
#ifndef PULSE_SOFTWARE_H_
#define PULSE_SOFTWARE_H_
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#define SOFT_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)
PulseBackendFlags SoftCheckSupport(PulseBackendFlags candidates, PulseShaderFormatsFlags shader_formats_used); // Return PULSE_BACKEND_SOFTWARE in case of success and PULSE_BACKEND_INVALID otherwise

View File

@@ -51,7 +51,6 @@ bool VulkanInitLoader()
};
#else
const char* libnames[] = {
"/home/kbz8/Documents/SwiftShader/build/bin/libvulkan.so.1",
"libvulkan.so.1",
"libvulkan.so"
};

View File

@@ -5,6 +5,10 @@
#include <Pulse.h>
#include "../../PulseInternal.h"
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#include "WebGPU.h"
#include "WebGPUDevice.h"

View File

@@ -9,10 +9,6 @@
#ifndef PULSE_WEBGPU_H_
#define PULSE_WEBGPU_H_
#ifdef __STDC_NO_ATOMICS__
#error "Atomic support is not present"
#endif
#include <webgpu/webgpu.h>
#define WEBGPU_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)