diff options
author | Marek Olšák <[email protected]> | 2014-10-04 20:41:03 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-12 23:52:02 +0200 |
commit | 5e0fbe1b631d883eb0e033938a534a259c8d95fd (patch) | |
tree | 86eeec4c4ec9c4bdc0f67344a1a02c36c6a76546 /src/gallium/drivers/radeonsi/si_shader.c | |
parent | a9592cd3ac20143e01126ef1df372ecca54b41d1 (diff) |
radeonsi: remove vs.ucps_enabled from the shader key
Written CLIPDIST outputs are simply disabled in PA_CL_VS_OUT_CNTL.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index e21cb76d9f9..c9e67922c3b 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -870,9 +870,6 @@ static void si_llvm_emit_clipvertex(struct lp_build_tgsi_context * bld_base, for (reg_index = 0; reg_index < 2; reg_index ++) { LLVMValueRef *args = pos[2 + reg_index]; - if (!(shader->key.vs.ucps_enabled & (1 << reg_index))) - continue; - shader->clip_dist_write |= 0xf << (4 * reg_index); args[5] = @@ -1175,9 +1172,6 @@ handle_semantic: param_count++; break; case TGSI_SEMANTIC_CLIPDIST: - if (!(si_shader_ctx->shader->key.vs.ucps_enabled & - (1 << semantic_index))) - continue; shader->clip_dist_write |= 0xf << (semantic_index * 4); target = V_008DFC_SQ_EXP_POS + 2 + semantic_index; |