projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcdc062
)
r600g: mask write for fake VS export components
author
Vadim Girlin
<vadimgirlin@gmail.com>
Thu, 6 Oct 2011 05:05:23 +0000
(09:05 +0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 14 Nov 2011 16:11:54 +0000
(11:11 -0500)
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 48a2f7b73292f4b11628275c6bfd27c44e9d4b08..e0b71ab36e4787c39274f5d9601af29f215a388d 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-935,10
+935,10
@@
static int r600_shader_from_tgsi(struct r600_pipe_context * rctx, struct r600_pi
memset(&output[i], 0, sizeof(struct r600_bytecode_output));
output[i].gpr = 0;
output[i].elem_size = 3;
- output[i].swizzle_x =
0
;
- output[i].swizzle_y =
1
;
- output[i].swizzle_z =
2
;
- output[i].swizzle_w =
3
;
+ output[i].swizzle_x =
7
;
+ output[i].swizzle_y =
7
;
+ output[i].swizzle_z =
7
;
+ output[i].swizzle_w =
7
;
output[i].burst_count = 1;
output[i].barrier = 1;
output[i].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PARAM;