summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ral/ral_impl.h1
-rw-r--r--src/ral/ral_types.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/ral/ral_impl.h b/src/ral/ral_impl.h
index 20b9757..51d1066 100644
--- a/src/ral/ral_impl.h
+++ b/src/ral/ral_impl.h
@@ -74,6 +74,7 @@ void copy_buffer_to_image_oneshot(BufferHandle src, TextureHandle dst);
// --- Render commands
PUB void GPU_EncodeBindPipeline(GPU_CmdEncoder* encoder, GPU_Pipeline* pipeline);
PUB void GPU_EncodeBindShaderData(GPU_CmdEncoder* encoder, u32 group, ShaderData data);
+PUB void GPU_EncodeBindShaderDataRaw(GPU_CmdEncoder* encoder, u32 group, ShaderDataLayout layout, const char* data);
void GPU_EncodeSetDefaults(GPU_CmdEncoder* encoder);
PUB void GPU_EncodeSetVertexBuffer(GPU_CmdEncoder* encoder, BufferHandle buf);
PUB void GPU_EncodeSetIndexBuffer(GPU_CmdEncoder* encoder, BufferHandle buf);
diff --git a/src/ral/ral_types.h b/src/ral/ral_types.h
index c950fe2..8a73041 100644
--- a/src/ral/ral_types.h
+++ b/src/ral/ral_types.h
@@ -246,6 +246,8 @@ typedef struct GraphicsPipelineDesc {
bool depth_test;
} GraphicsPipelineDesc;
+bool GraphicsPipelineDesc_AddShaderDataLayout(GraphicsPipelineDesc* desc, ShaderDataLayout layout);
+
typedef struct GPU_RenderpassDesc {
bool default_framebuffer;
bool has_color_target;