projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce5096a
)
r600g/llvm: Workaround for wrong tex.offset_*
author
Vincent Lejeune
<vljn@ovi.com>
Wed, 3 Apr 2013 19:19:22 +0000
(21:19 +0200)
committer
Vincent Lejeune
<vljn@ovi.com>
Thu, 4 Apr 2013 14:03:04 +0000
(16:03 +0200)
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index d24d8e704e908e17e21264ab1354a56b6259059c..a5d224f5e1ff5b064339b333c783b935f4fe3345 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-511,6
+511,9
@@
static unsigned r600_tex_from_byte_stream(struct r600_shader_ctx *ctx,
tex.src_sel_y = G_SQ_TEX_WORD2_SRC_SEL_Y(word2);
tex.src_sel_z = G_SQ_TEX_WORD2_SRC_SEL_Z(word2);
tex.src_sel_w = G_SQ_TEX_WORD2_SRC_SEL_W(word2);
+ tex.offset_x <<= 1;
+ tex.offset_y <<= 1;
+ tex.offset_z <<= 1;
tex.inst_mod = 0;