projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da5b476
)
r600g: Handle texture fetch instructions with relative addressing
author
Fabian Bieler
<der.fabe@gmx.net>
Wed, 23 Mar 2011 22:27:01 +0000
(23:27 +0100)
committer
Henri Verbeet
<hverbeet@gmail.com>
Sun, 27 Mar 2011 13:00:07 +0000
(15:00 +0200)
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
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 a835e1c0a382d99aa0e326c512ec53c273e4aa0d..6eac1f724af45dfadbf20033b4aa5e90945aba4e 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-1706,6
+1706,7
@@
static int tgsi_tex(struct r600_shader_ctx *ctx)
tex.src_sel_y = ctx->src[0].swizzle[1];
tex.src_sel_z = ctx->src[0].swizzle[2];
tex.src_sel_w = ctx->src[0].swizzle[3];
+ tex.src_rel = ctx->src[0].rel;
}
if (inst->Texture.Texture == TGSI_TEXTURE_CUBE) {