aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_context.h
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2020-03-05 09:46:42 +0100
committerBoris Brezillon <[email protected]>2020-03-10 12:47:33 +0100
commit0b735a2d808205c8a3e5e496d85693db85f7716c (patch)
tree2d69f4e1f1ae7eb8746a9ce94f6fd6cb862d106b /src/gallium/drivers/panfrost/pan_context.h
parenta72bab1c3e6b2732f2f4e7f4f0a16ff1a8927ebd (diff)
panfrost: Move the const buf emission logic out of panfrost_emit_for_draw()
Let's move the constant buffer emission logic in a dedicated helper to make panfrost_emit_for_draw() a bit more dry. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4083>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_context.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 5fe8aebe960..2bb81203f15 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -330,6 +330,9 @@ panfrost_shader_compile(
struct panfrost_shader_state *state,
uint64_t *outputs_written);
+unsigned
+panfrost_ubo_count(struct panfrost_context *ctx, enum pipe_shader_type stage);
+
/* Instancing */
mali_ptr