diff options
author | Marek Olšák <marek.olsak@amd.com> | 2018-01-30 17:58:14 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2018-02-01 16:20:19 +0100 |
commit | 472361dd7e2f82e3697047776967544348b4012a (patch) | |
tree | 2b4f1342cf8eaa48164842e418395101351d74f8 /src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | |
parent | d3540b405b975450b9c2f9d8eb273be062cbf73a (diff) |
radeonsi: remove unused si_shader_context members
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c index fc141ca1e03..f70e2bdde87 100644 --- a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c +++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c @@ -1194,13 +1194,6 @@ void si_llvm_context_init(struct si_shader_context *ctx, bld_base->emit_declaration = emit_declaration; bld_base->emit_immediate = emit_immediate; - /* metadata allowing 2.5 ULP */ - ctx->fpmath_md_kind = LLVMGetMDKindIDInContext(ctx->ac.context, - "fpmath", 6); - LLVMValueRef arg = LLVMConstReal(ctx->ac.f32, 2.5); - ctx->fpmath_md_2p5_ulp = LLVMMDNodeInContext(ctx->ac.context, - &arg, 1); - bld_base->op_actions[TGSI_OPCODE_BGNLOOP].emit = bgnloop_emit; bld_base->op_actions[TGSI_OPCODE_BRK].emit = brk_emit; bld_base->op_actions[TGSI_OPCODE_CONT].emit = cont_emit; |