mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
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:
parent
d48d8aefdf
commit
6ea2ea0bb0
2 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue