mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 07:23:35 +00:00
fixing opengl
This commit is contained in:
@@ -39,6 +39,7 @@ void TestImageCreation()
|
||||
* 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;
|
||||
@@ -51,7 +52,7 @@ void TestImageCreation()
|
||||
TEST_ASSERT_NOT_EQUAL_MESSAGE(image, PULSE_NULL_HANDLE, PulseVerbaliseErrorType(PulseGetLastErrorType()));
|
||||
PulseDestroyImage(device, image);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
{
|
||||
PulseImageCreateInfo image_create_info = { 0 };
|
||||
|
||||
@@ -22,7 +22,7 @@ external
|
||||
[set(1)]
|
||||
external
|
||||
{
|
||||
[binding(0)] write_texture: texture2D[f32, rgba8],
|
||||
[binding(0)] write_texture: texture2D[f32, writeonly, rgba8],
|
||||
[binding(1)] write_ssbo: storage[SSBO, writeonly],
|
||||
}
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@ struct SSBO
|
||||
data: dyn_array[u32]
|
||||
}
|
||||
|
||||
[set(0)]
|
||||
[set(1)]
|
||||
external
|
||||
{
|
||||
[binding(0)] write_texture: texture2D[f32, readwrite, rgba8],
|
||||
[binding(0)] write_texture: texture2D[f32, writeonly, rgba8],
|
||||
[binding(1)] write_ssbo: storage[SSBO],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user