support dynamic uniform buffers on vulkan
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "stdint.h"
|
||||
#include "stdlib.h"
|
||||
#include "utils/lists/gryphn_array_list.h"
|
||||
#include "utils/gryphn_bool.h"
|
||||
#include "gryphn_handles.h"
|
||||
|
||||
typedef struct gnBufferUniformInfo {
|
||||
@@ -9,6 +10,7 @@ typedef struct gnBufferUniformInfo {
|
||||
gnBuffer buffer;
|
||||
size_t offset;
|
||||
size_t size;
|
||||
gnBool dynamic;
|
||||
} gnBufferUniformInfo;
|
||||
|
||||
typedef struct gnStorageUniformInfo {
|
||||
|
@@ -4,6 +4,7 @@
|
||||
|
||||
typedef enum gnUniformType {
|
||||
GN_UNIFORM_BUFFER_DESCRIPTOR,
|
||||
GN_DYNAMIC_UNIFORM_BUFFER_DESCRIPTOR,
|
||||
GN_SHADER_STORE_BUFFER_DESCRIPTOR,
|
||||
GN_COMBINED_IMAGE_SAMPLER_DESCRIPTOR,
|
||||
GN_UNIFORM_TYPE_MAX
|
||||
|
Reference in New Issue
Block a user