diff options
author | Vadim Girlin <[email protected]> | 2012-01-23 13:47:51 +0400 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-01-23 10:01:35 +0000 |
commit | 13daa059c01d6dd05064e82cf67cba9cc5fe79db (patch) | |
tree | 7851eb6fd43510b21a9216e093523c2fb0d44183 /src/gallium | |
parent | 4c84819a1b1ecc4359d16ff468c3545ff91f6a2c (diff) |
r600g: fix VS fog export
Signed-off-by: Vadim Girlin <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index b6fd0f075fe..b4e7f8b1ec1 100644 --- 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: |