mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-05 19:29:11 +01:00
feat(vulkan): vulkan 1.4 core with the user interface and the launcher, shaders split into ogl46/vk14 with SPIR-V binaries loaded first
This commit is contained in:
6
gl/ubo.h
6
gl/ubo.h
@@ -247,7 +247,11 @@ namespace gl
|
||||
const GLuint CLUSTER_BUILD_GROUP_SIZE = 64;
|
||||
const GLuint CLUSTER_CULL_GROUP_SIZE = 64;
|
||||
|
||||
// binding points of the cluster buffers: layout(binding = ...) in glsl_common.
|
||||
// binding points of the blocks of the scene and of the model being drawn (common.glsl)
|
||||
const GLuint SCENE_UBO_BINDING = 0;
|
||||
const GLuint MODEL_UBO_BINDING = 1;
|
||||
|
||||
// binding points of the cluster buffers: layout(binding = ...) in common.glsl.
|
||||
// the uniform block numbers go together with scene (0), model (1) and instance (3) blocks
|
||||
const GLuint CLUSTER_UBO_BINDING = 2;
|
||||
const GLuint CLUSTER_AABB_SSBO_BINDING = 1;
|
||||
|
||||
Reference in New Issue
Block a user