intel: fix generation shader on Gfx9
This probably interacts badly with the LLVM17+ opaque pointer
workaround. Hopefully I can move this all over Alyssa's pass.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: b52e25d3a8
("anv: rewrite internal shaders using OpenCL")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12413
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32958>
This commit is contained in:

committed by
Marge Bot

parent
08e82b28e8
commit
58b604abdf
@@ -9,9 +9,9 @@ void genX(write_3DSTATE_VERTEX_BUFFERS)(global void *dst_ptr,
|
||||
{
|
||||
struct GENX(3DSTATE_VERTEX_BUFFERS) v = {
|
||||
GENX(3DSTATE_VERTEX_BUFFERS_header),
|
||||
.DWordLength = 1 + (buffer_count * 4) -
|
||||
GENX(3DSTATE_VERTEX_BUFFERS_length_bias),
|
||||
};
|
||||
v.DWordLength = 1 + (buffer_count * 4) -
|
||||
GENX(3DSTATE_VERTEX_BUFFERS_length_bias);
|
||||
GENX(3DSTATE_VERTEX_BUFFERS_pack)(dst_ptr, &v);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user