ac/llvm: fix flat PS input corruption

Fixes: 0a54fbb5b4 - radeonsi/gfx11: interp changes for 32bit

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25492>
This commit is contained in:
Marek Olšák 2023-09-01 22:45:05 -04:00 committed by Marge Bot
parent d50cc2e0cf
commit c7e08acd12
2 changed files with 1 additions and 3 deletions

View File

@ -876,6 +876,7 @@ LLVMValueRef ac_build_fs_interp_mov(struct ac_llvm_context *ctx, unsigned parame
p = ac_build_intrinsic(ctx, "llvm.amdgcn.lds.param.load",
ctx->f32, args, 3, 0);
p = ac_build_intrinsic(ctx, "llvm.amdgcn.wqm.f32", ctx->f32, &p, 1, 0);
p = ac_build_quad_swizzle(ctx, p, parameter, parameter, parameter, parameter);
return ac_build_intrinsic(ctx, "llvm.amdgcn.wqm.f32", ctx->f32, &p, 1, 0);
} else {

View File

@ -144,6 +144,3 @@ KHR-GL46.transform_feedback_overflow_query_ARB.advanced-single-stream-interleave
KHR-GL46.transform_feedback_overflow_query_ARB.advanced-single-stream-separate-attribs,Fail
KHR-GL46.transform_feedback_overflow_query_ARB.multiple-streams-multiple-buffers-per-stream,Fail
KHR-GL46.transform_feedback_overflow_query_ARB.multiple-streams-one-buffer-per-stream,Fail
dEQP-GLES31.functional.separate_shader.random.113,Fail
dEQP-GLES31.functional.separate_shader.random.82,Fail

1 # LLVM 16.0.0
144
145
146