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>
(cherry picked from commit c7e08acd12)
This commit is contained in:
Marek Olšák 2023-09-01 22:45:05 -04:00 committed by Eric Engestrom
parent 0b12cfb2ba
commit f85e2d9d00
3 changed files with 2 additions and 3 deletions

View File

@ -1057,7 +1057,7 @@
"description": "ac/llvm: fix flat PS input corruption",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "0a54fbb5b40fc4e4abd60f9ff7dd71dfe5c1d6cc"
},

View File

@ -1086,6 +1086,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

@ -211,8 +211,6 @@ dEQP-GLES3.functional.texture.specification.texsubimage3d_pbo.rgb5_a1_2d_array,F
dEQP-GLES3.functional.texture.specification.texsubimage3d_pbo.rgb5_a1_3d,Fail
dEQP-GLES3.functional.texture.specification.texsubimage3d_pbo.rgba4_2d_array,Fail
dEQP-GLES3.functional.texture.specification.texsubimage3d_pbo.rgba4_3d,Fail
dEQP-GLES31.functional.separate_shader.random.113,Fail
dEQP-GLES31.functional.separate_shader.random.82,Fail
dEQP-GLES31.functional.separate_shader.random.17,Fail
dEQP-GLES31.functional.separate_shader.random.45,Fail
dEQP-GLES31.functional.texture.specification.teximage3d_pbo.rgb565_cube_array,Fail

1 # LLVM 16.0.0
211 dEQP-GLES31.functional.separate_shader.random.45,Fail dEQP-GLES31.functional.texture.specification.teximage3d_pbo.rgb5_a1_cube_array,Fail
212 dEQP-GLES31.functional.texture.specification.teximage3d_pbo.rgb565_cube_array,Fail dEQP-GLES31.functional.texture.specification.teximage3d_pbo.rgba4_cube_array,Fail
213 dEQP-GLES31.functional.texture.specification.teximage3d_pbo.rgb5_a1_cube_array,Fail dEQP-GLES31.functional.texture.specification.texsubimage3d_pbo.rgb565_cube_array,Fail
dEQP-GLES31.functional.texture.specification.teximage3d_pbo.rgba4_cube_array,Fail
dEQP-GLES31.functional.texture.specification.texsubimage3d_pbo.rgb565_cube_array,Fail
214 dEQP-GLES31.functional.texture.specification.texsubimage3d_pbo.rgb5_a1_cube_array,Fail
215 dEQP-GLES31.functional.texture.specification.texsubimage3d_pbo.rgba4_cube_array,Fail
216