diff options
author | Alex Deucher <[email protected]> | 2011-07-29 11:29:53 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2011-07-29 11:34:02 -0400 |
commit | dc1c0ca22a1c7fcaef90b787290144d8e3d77c33 (patch) | |
tree | c1d28caad9ca009ece381871b341393851472b98 /src/gallium/drivers/r600/r600_shader.h | |
parent | 5c9e0ad5fddf216921703a0aa9c911a51226cdfd (diff) |
r600g: fix up vs export handling
Certain attributes (position, psize, etc.) don't
count as params; they are handled separately by the hw.
However, the VS is required to export at least one param
and r600_shader_from_tgsi() takes care of adding a dummy
export if there is none. Make sure the VS param export
count in the SPI properly accounts for this.
Note: This is a candidate for the 7.11 branch.
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h index 3ba84bd8907..600c3e2f540 100644 --- a/src/gallium/drivers/r600/r600_shader.h +++ b/src/gallium/drivers/r600/r600_shader.h @@ -40,6 +40,7 @@ struct r600_shader { struct r600_bc bc; unsigned ninput; unsigned noutput; + unsigned npos; unsigned nlds; struct r600_shader_io input[32]; struct r600_shader_io output[32]; |