[v2,3/7] gallium/auxiliary/vl: Increase csc_matrix size

Submitted by Zhu, James on Feb. 6, 2019, 7:44 p.m.

Details

Message ID 1549482274-4829-4-git-send-email-James.Zhu@amd.com
State New
Headers show
Series "Add compute shader support on video compositor render" ( rev: 2 ) in Mesa

Not browsing as part of any series.

Commit Message

Zhu, James Feb. 6, 2019, 7:44 p.m.
Increase csc_matrix size to store more constants for compute shader.

Signed-off-by: James Zhu <James.Zhu@amd.com>
---
 src/gallium/auxiliary/vl/vl_compositor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c
index a40b668..7d701d5 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.c
+++ b/src/gallium/auxiliary/vl/vl_compositor.c
@@ -756,7 +756,7 @@  vl_compositor_init_state(struct vl_compositor_state *s, struct pipe_context *pip
       pipe->screen,
       PIPE_BIND_CONSTANT_BUFFER,
       PIPE_USAGE_DEFAULT,
-      sizeof(csc_matrix) + 2*sizeof(float)
+      sizeof(csc_matrix) + 4*sizeof(float) + 6*sizeof(int)
    );
 
    if (!s->csc_matrix)