projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc613f1
)
r600g: initialize inst_mod in r600_tex_from_byte_stream
author
Vadim Girlin
<vadimgirlin@gmail.com>
Tue, 18 Dec 2012 13:40:06 +0000
(17:40 +0400)
committer
Vadim Girlin
<vadimgirlin@gmail.com>
Tue, 18 Dec 2012 13:40:57 +0000
(17:40 +0400)
Signed-off-by: Vadim Girlin <vadimgirlin@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 fbbd0fb685b29dedee7dc44b2b10ee0025a7eeec..bcd43f103269ee3e05684f1557484a5f63062427 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-465,6
+465,8
@@
static unsigned r600_tex_from_byte_stream(struct r600_shader_ctx *ctx,
tex.src_sel_z = bytes[bytes_read++];
tex.src_sel_w = bytes[bytes_read++];
+ tex.inst_mod = 0;
+
r600_bytecode_add_tex(ctx->bc, &tex);
return bytes_read;