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:
Lionel Landwerlin
2023-09-30 01:29:41 +03:00
committed by Marge Bot
parent d48d8aefdf
commit 6ea2ea0bb0
2 changed files with 2 additions and 0 deletions

View File

@@ -135,6 +135,7 @@ struct anv_query_copy_params {
*/
struct anv_memcpy_shader_params {
uint32_t num_dwords;
uint32_t pad;
};
struct anv_memcpy_params {

View File

@@ -39,6 +39,7 @@ layout(set = 0, binding = 1, std430) buffer Storage1 {
/* This data will be provided through push constants. */
layout(set = 0, binding = 2) uniform block {
uint num_dwords;
uint pad;
};
void main()