anv: fix internal compute copy shader build
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9907
Fixes: 2cc5b3b1e0
("anv: add a memcpy compute internal kernel")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25480>
This commit is contained in:

committed by
Marge Bot

parent
d48d8aefdf
commit
6ea2ea0bb0
@@ -135,6 +135,7 @@ struct anv_query_copy_params {
|
|||||||
*/
|
*/
|
||||||
struct anv_memcpy_shader_params {
|
struct anv_memcpy_shader_params {
|
||||||
uint32_t num_dwords;
|
uint32_t num_dwords;
|
||||||
|
uint32_t pad;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct anv_memcpy_params {
|
struct anv_memcpy_params {
|
||||||
|
@@ -39,6 +39,7 @@ layout(set = 0, binding = 1, std430) buffer Storage1 {
|
|||||||
/* This data will be provided through push constants. */
|
/* This data will be provided through push constants. */
|
||||||
layout(set = 0, binding = 2) uniform block {
|
layout(set = 0, binding = 2) uniform block {
|
||||||
uint num_dwords;
|
uint num_dwords;
|
||||||
|
uint pad;
|
||||||
};
|
};
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
|
Reference in New Issue
Block a user