mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-06 03:50:26 +01:00
r600g: fix VS fog export
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4c84819a1b
commit
13daa059c0
1 changed files with 5 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue