amd: Do shader binary alignment for prefetch at memory allocation time.
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 22 Jun 2023 11:42:37 +0000 (13:42 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Jul 2023 12:01:45 +0000 (12:01 +0000)
commit7e4870e8e5bd1694fbc7f210d8fdf8460fb3c1b3
tree910f0f8adc8e25a860c12bf385beb856f2b81c4d
parent437bf4fccb8c54a9204ba6d13f389f6bcf86cb99
amd: Do shader binary alignment for prefetch at memory allocation time.

This makes it consistent between drivers and compilers.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23799>
src/amd/common/ac_rtld.c
src/amd/compiler/aco_assembler.cpp
src/amd/compiler/tests/test_assembler.cpp
src/amd/vulkan/radv_shader.c
src/gallium/drivers/radeonsi/si_shader.c