summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-30 10:35:36 -0400
committerTom Stellard <[email protected]>2012-08-31 12:53:51 -0400
commitc3c323a164a9b6ba2820f5f68cd3ed3fa3c20ac0 (patch)
treeacd60a819d05b73d410e5d463a1e050900a731af /src/gallium/drivers/radeonsi
parentd58ca43b809593314907694e744780ab9b28d590 (diff)
radeonsi: Handle TGSI_SEMANTIC_PSIZE
The relevant POINT_SIZE registers are being set using the pipe_rasterizer_state, so we just need to tell the shader compiler which export type to use. This fixes several of the glean glsl tests. Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c
index d07b050799d..2f417ecda52 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_shader.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c
@@ -502,6 +502,7 @@ static void si_llvm_emit_epilogue(struct lp_build_tgsi_context * bld_base)
for (index = d->Range.First; index <= d->Range.Last; index++) {
/* Select the correct target */
switch(d->Semantic.Name) {
+ case TGSI_SEMANTIC_PSIZE:
case TGSI_SEMANTIC_POSITION:
target = V_008DFC_SQ_EXP_POS;
break;