r600g: properly propogate clip dist write value
authorDave Airlie <airlied@redhat.com>
Tue, 4 Feb 2014 00:48:42 +0000 (10:48 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Feb 2014 00:49:43 +0000 (10:49 +1000)
commitc6cfc54db059310c41d139c4d01929928d031b55
treeb4b2404fef2a22c0f91f658dfbc6068a20500221
parentb209afb153c39be1693879ce9666ca18f12b6a37
r600g: properly propogate clip dist write value

This moves the value from the GS shader to the copy shader so the registers
are setup correctly.

fixes tests/spec/glsl-1.50/execution/geometry/clip-distance-out-values.shader_test

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_shader.c