Searched refs:half_texel (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_mem.c | 1671 LLVMValueRef half_texel[2]; in si_lower_gather4_integer() local 1717 half_texel[0] = half_texel[1] = LLVMConstReal(ctx->f32, -0.5); in si_lower_gather4_integer() 1739 half_texel[c] = in si_lower_gather4_integer() 1742 half_texel[c] = LLVMBuildUIToFP(builder, half_texel[c], ctx->f32, ""); in si_lower_gather4_integer() 1743 half_texel[c] = in si_lower_gather4_integer() 1745 TGSI_OPCODE_RCP, half_texel[c]); in si_lower_gather4_integer() 1746 half_texel[c] = LLVMBuildFMul(builder, half_texel[c], in si_lower_gather4_integer() 1756 LLVMValueRef values[2] = { half_texel[c], ctx->ac.f32_0 }; in si_lower_gather4_integer() 1757 half_texel[c] = ac_build_phi(&ctx->ac, ctx->f32, 2, in si_lower_gather4_integer() 1769 tmp = LLVMBuildFAdd(builder, tmp, half_texel[c], ""); in si_lower_gather4_integer()
|
/external/mesa3d/src/amd/common/ |
D | ac_nir_to_llvm.c | 2197 LLVMValueRef half_texel[2]; in radv_lower_gather4_integer() local 2215 half_texel[c] = LLVMBuildExtractElement(ctx->builder, size, in radv_lower_gather4_integer() 2217 half_texel[c] = LLVMBuildUIToFP(ctx->builder, half_texel[c], ctx->f32, ""); in radv_lower_gather4_integer() 2218 half_texel[c] = ac_build_fdiv(ctx, ctx->f32_1, half_texel[c]); in radv_lower_gather4_integer() 2219 half_texel[c] = LLVMBuildFMul(ctx->builder, half_texel[c], in radv_lower_gather4_integer() 2231 tmp = LLVMBuildFAdd(ctx->builder, tmp, half_texel[c], ""); in radv_lower_gather4_integer()
|