Vulkan: Push constants #104880

Merged
Jeroen Bakker merged 73 commits from Jeroen-Bakker/blender:vulkan-push-constants into main 2023-03-06 12:29:06 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 27590e3a11 - Show all commits

View File

@ -29,7 +29,7 @@ static void push_constants(const char *info_name)
EXPECT_NE(shader, nullptr);
GPU_shader_bind(shader);
/* Construct IBO. */
/* Construct SSBO. */
GPUStorageBuf *ssbo = GPU_storagebuf_create_ex(
SIZE * sizeof(float), nullptr, GPU_USAGE_DEVICE_ONLY, __func__);
GPU_storagebuf_bind(ssbo, GPU_shader_get_ssbo_binding(shader, "data_out"));