diff --git a/Sources/Backends/Software/Soft.c b/Sources/Backends/Software/Soft.c index fa180b1..930a6fa 100644 --- a/Sources/Backends/Software/Soft.c +++ b/Sources/Backends/Software/Soft.c @@ -21,9 +21,6 @@ bool SoftLoadBackend(PulseBackend backend, PulseDebugLevel debug_level) { PULSE_UNUSED(backend); 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; } diff --git a/Sources/Backends/Software/Soft.h b/Sources/Backends/Software/Soft.h index 941fe32..93008b3 100644 --- a/Sources/Backends/Software/Soft.h +++ b/Sources/Backends/Software/Soft.h @@ -11,10 +11,6 @@ #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 #endif // PULSE_SOFTWARE_H_ diff --git a/Sources/Backends/Software/SoftDevice.h b/Sources/Backends/Software/SoftDevice.h index 5911005..2e1d859 100644 --- a/Sources/Backends/Software/SoftDevice.h +++ b/Sources/Backends/Software/SoftDevice.h @@ -13,6 +13,9 @@ typedef struct SoftDevice { + PulseCommandList* available_command_lists; + uint32_t available_command_lists_capacity; + uint32_t available_command_lists_size; } SoftDevice; PulseDevice SoftCreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count); diff --git a/xmake.lua b/xmake.lua index 19094e2..493624f 100644 --- a/xmake.lua +++ b/xmake.lua @@ -33,7 +33,7 @@ local backends = { Software = { option = "software", default = true, - packages = { "spirv-vm" } + packages = { "spirv-vm", "openmp", "cpuinfo" } } }