This commit is contained in:
2025-03-03 14:09:21 +01:00
parent b1102874e6
commit 8c7b2bb44f
4 changed files with 4 additions and 8 deletions

View File

@@ -21,9 +21,6 @@ bool SoftLoadBackend(PulseBackend backend, PulseDebugLevel debug_level)
{ {
PULSE_UNUSED(backend); PULSE_UNUSED(backend);
PULSE_UNUSED(debug_level); PULSE_UNUSED(debug_level);
SoftDriverData* driver_data = (SoftDriverData*)calloc(1, sizeof(SoftDriverData));
PULSE_CHECK_ALLOCATION_RETVAL(driver_data, false);
SoftwareDriver.driver_data = driver_data;
return true; return true;
} }

View File

@@ -11,10 +11,6 @@
#define SOFTWARE_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data) #define SOFTWARE_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)
typedef struct SoftDriverData
{
} SoftDriverData;
PulseBackendFlags SoftCheckSupport(PulseBackendFlags candidates, PulseShaderFormatsFlags shader_formats_used); // Return PULSE_BACKEND_SOFTWARE in case of success and PULSE_BACKEND_INVALID otherwise PulseBackendFlags SoftCheckSupport(PulseBackendFlags candidates, PulseShaderFormatsFlags shader_formats_used); // Return PULSE_BACKEND_SOFTWARE in case of success and PULSE_BACKEND_INVALID otherwise
#endif // PULSE_SOFTWARE_H_ #endif // PULSE_SOFTWARE_H_

View File

@@ -13,6 +13,9 @@
typedef struct SoftDevice typedef struct SoftDevice
{ {
PulseCommandList* available_command_lists;
uint32_t available_command_lists_capacity;
uint32_t available_command_lists_size;
} SoftDevice; } SoftDevice;
PulseDevice SoftCreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count); PulseDevice SoftCreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count);

View File

@@ -33,7 +33,7 @@ local backends = {
Software = { Software = {
option = "software", option = "software",
default = true, default = true,
packages = { "spirv-vm" } packages = { "spirv-vm", "openmp", "cpuinfo" }
} }
} }