mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 07:23:35 +00:00
fixing webgpu backend ?
This commit is contained in:
@@ -88,7 +88,7 @@ void TestBufferMapping()
|
||||
TEST_ASSERT_NOT_NULL(ptr);
|
||||
for(int i = 0; i < 8; i++)
|
||||
printf("%d - %d\n", data[i], ((unsigned char*)ptr)[i]);
|
||||
TEST_ASSERT_EQUAL(memcmp(ptr, data, 8), 0);
|
||||
TEST_ASSERT_EQUAL(0, memcmp(ptr, data, 8));
|
||||
PulseUnmapBuffer(buffer);
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ void TestBufferCopy()
|
||||
void* ptr;
|
||||
TEST_ASSERT_NOT_EQUAL_MESSAGE(PulseMapBuffer(dst_buffer, PULSE_MAP_READ, &ptr), false, PulseVerbaliseErrorType(PulseGetLastErrorType()));
|
||||
TEST_ASSERT_NOT_NULL(ptr);
|
||||
TEST_ASSERT_EQUAL(memcmp(ptr, data, 8), 0);
|
||||
TEST_ASSERT_EQUAL(0, memcmp(ptr, data, 8));
|
||||
PulseUnmapBuffer(dst_buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user