[Mesa-dev] [PATCH 2/6] gallium\auxiliary\vl: Increase csc_matrix size
Zhu, James
James.Zhu at amd.com
Fri Feb 1 16:28:35 UTC 2019
Increase csc_matrix size to store more constants for compute shader.
Signed-off-by: James Zhu <James.Zhu at amd.com>
---
src/gallium/auxiliary/vl/vl_compositor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c
index 2c6d585..6ab4a60 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.c
+++ b/src/gallium/auxiliary/vl/vl_compositor.c
@@ -1440,7 +1440,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)
--
2.7.4
More information about the mesa-dev
mailing list