projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c84819
)
r600g: fix VS fog export
author
Vadim Girlin
<vadimgirlin@gmail.com>
Mon, 23 Jan 2012 09:47:51 +0000
(13:47 +0400)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 23 Jan 2012 10:01:35 +0000
(10:01 +0000)
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.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 b6fd0f075fe98fcdab0980d7ba926893b29436e5..b4e7f8b1ec1beae2d61d6a68a89c496b4887dbdf 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-1145,6
+1145,11
@@
static int r600_shader_from_tgsi(struct r600_pipe_context * rctx, struct r600_pi
output[j].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PARAM;
}
break;
+ case TGSI_SEMANTIC_FOG:
+ output[j].swizzle_y = 4; /* 0 */
+ output[j].swizzle_z = 4; /* 0 */
+ output[j].swizzle_w = 5; /* 1 */
+ break;
}
break;
case TGSI_PROCESSOR_FRAGMENT: