[Mesa-stable] [PATCH 1/4] anv/cmd_buffer: Align push constants to 64 bytes
Jason Ekstrand
jason at jlekstrand.net
Tue Nov 22 04:26:55 UTC 2016
This is required by compute shaders.
Cc: "13.0" <mesa-stable at lists.freedesktop.org>
Cc: Jordan Justen <jordan.l.justen at intel.com>
---
src/intel/vulkan/anv_cmd_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c
index d882c18..c6122db 100644
--- a/src/intel/vulkan/anv_cmd_buffer.c
+++ b/src/intel/vulkan/anv_cmd_buffer.c
@@ -632,7 +632,7 @@ anv_cmd_buffer_push_constants(struct anv_cmd_buffer *cmd_buffer,
struct anv_state state =
anv_cmd_buffer_alloc_dynamic_state(cmd_buffer,
prog_data->nr_params * sizeof(float),
- 32 /* bottom 5 bits MBZ */);
+ 64 /* bottom 5 bits MBZ */);
/* Walk through the param array and fill the buffer with data */
uint32_t *u32_map = state.map;
--
2.5.0.400.gff86faf
More information about the mesa-stable
mailing list