projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d3751
)
ac/llvm: fix load_ubo for vectors with more than 4 elements
author
Karol Herbst
<kherbst@redhat.com>
Tue, 27 Sep 2022 22:22:39 +0000
(
00:22
+0200)
committer
Marge Bot
<emma+marge@anholt.net>
Sat, 1 Oct 2022 13:36:46 +0000
(13:36 +0000)
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18802>
src/amd/llvm/ac_llvm_build.c
patch
|
blob
|
history
diff --git
a/src/amd/llvm/ac_llvm_build.c
b/src/amd/llvm/ac_llvm_build.c
index
ab2326c
..
6dcb9cf
100644
(file)
--- a/
src/amd/llvm/ac_llvm_build.c
+++ b/
src/amd/llvm/ac_llvm_build.c
@@
-1308,7
+1308,7
@@
LLVMValueRef ac_build_buffer_load(struct ac_llvm_context *ctx, LLVMValueRef rsrc
(!(cache_policy & ac_glc) || ctx->gfx_level >= GFX8)) {
assert(vindex == NULL);
- LLVMValueRef result[
8
];
+ LLVMValueRef result[
32
];
LLVMValueRef offset = voffset ? voffset : ctx->i32_0;
if (soffset)