mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 07:23:35 +00:00
fixing bug with NVK
This commit is contained in:
@@ -35,11 +35,6 @@ void TestImageCreation()
|
||||
PulseDestroyImage(device, image);
|
||||
}
|
||||
|
||||
/**
|
||||
* This test may crash some Nouveau NVK drivers (wtf ???).
|
||||
* It seems to be comming exclusively from 3D read-only images
|
||||
*/
|
||||
#ifndef VULKAN_ENABLED
|
||||
{
|
||||
PulseImageCreateInfo image_create_info = { 0 };
|
||||
image_create_info.type = PULSE_IMAGE_TYPE_3D;
|
||||
@@ -52,7 +47,6 @@ void TestImageCreation()
|
||||
TEST_ASSERT_NOT_EQUAL_MESSAGE(image, PULSE_NULL_HANDLE, PulseVerbaliseErrorType(PulseGetLastErrorType()));
|
||||
PulseDestroyImage(device, image);
|
||||
}
|
||||
#endif
|
||||
|
||||
{
|
||||
PulseImageCreateInfo image_create_info = { 0 };
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
ZeroMemory(&line, sizeof(IMAGEHLP_LINE64));
|
||||
line.SizeOfStruct = sizeof(IMAGEHLP_LINE64);
|
||||
|
||||
for (USHORT i = 0; i < frames; i++)
|
||||
for(USHORT i = 0; i < frames; i++)
|
||||
{
|
||||
DWORD64 address = (DWORD64)(stack[i]);
|
||||
if(SymFromAddr(process, address, 0, symbol))
|
||||
|
||||
Reference in New Issue
Block a user