mesa/src/amd/llvm
Qiang Yu e3b1f26a2b ac/llvm: fix 16bit varying llvm compile error
Found when 16bit vec3 varying with llvm14 (not found
when llvm15), one 32bit vec4 slot is filled like this:
  vec3[0] | undef
  vec3[1] | undef
  vec3[2] | undef
  undef   | undef

LLVM error is for the elements with undef:
  %287 = insertelement float %280, half %279, i64 0

After this change, we get:
  %287 = insertelement <2 x half> %280, half %279, i64 0

Fixes: 279eea5bda ("amd/llvm: Transition to LLVM "opaque pointers"")
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19848>
2022-11-21 01:06:56 +00:00
..
ac_llvm_build.c ac/llvm: fix gfx11 fs input load for 16bit varying 2022-11-15 05:43:37 +00:00
ac_llvm_build.h ac/llvm: Implement signed idot on GFX11. 2022-10-24 19:07:16 +00:00
ac_llvm_cull.c
ac_llvm_cull.h
ac_llvm_helper.cpp
ac_llvm_util.c amd: rename enums ARCTURUS -> MI100, ALDEBARAN -> MI200 2022-11-06 17:20:39 -05:00
ac_llvm_util.h
ac_nir_to_llvm.c ac/llvm: fix 16bit varying llvm compile error 2022-11-21 01:06:56 +00:00
ac_nir_to_llvm.h
ac_shader_abi.h nir,ac,radv: add primitive count add intrinsics 2022-10-25 12:58:43 +00:00
meson.build