zink: Fix 32-bit compilation

Graphics / Mesa 3D Graphics Library / Mesa - Joshua Ashton [froggi.es] - 8 August 2020 11:46 UTC

`sizeof(void*) != sizeof(VkShaderModule)` on x86 hence this fails with `-Werror=int-conversion`

Fixes: 0f059d550bd "zink: split up creating zink_shader objects and VkShaderModule objects"

b238d17a02f zink: Fix 32-bit compilation
src/gallium/drivers/zink/zink_compiler.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share