projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d284d
)
radeonsi: fix FP64 UBO loads with indirect uniform block indexing
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 11 Sep 2016 23:38:53 +0000
(
01:38
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 13 Sep 2016 18:38:25 +0000
(20:38 +0200)
No known tests.
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 6d30d1c9eb30c429e6a0950fd24d478c5826b099..be6fae75ab062ad511c9948ad0f7eff456857089 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_shader.c
+++ b/
src/gallium/drivers/radeonsi/si_shader.c
@@
-1924,8
+1924,7
@@
static LLVMValueRef fetch_constant(
addr2 = lp_build_add(&bld_base->uint_bld, addr2,
lp_build_const_int32(base->gallivm, idx * 4));
- result2 = buffer_load_const(ctx, ctx->const_buffers[buf],
- addr2);
+ result2 = buffer_load_const(ctx, bufp, addr2);
result = radeon_llvm_emit_fetch_64bit(bld_base, type,
result, result2);