Searched refs:small_prim_precision (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_cull.h59 LLVMValueRef vp_translate[2], LLVMValueRef small_prim_precision,
H A Dac_llvm_cull.c120 LLVMValueRef small_prim_precision, struct ac_cull_options *options,
187 min = LLVMBuildFSub(builder, min, small_prim_precision, "");
188 max = LLVMBuildFAdd(builder, max, small_prim_precision, "");
192 * and small_prim_precision are computed differently.
223 * \param small_prim_precision Precision of small primitive culling. This should
232 LLVMValueRef vp_translate[2], LLVMValueRef small_prim_precision,
250 cull_bbox(ctx, pos, accepted, &w, vp_scale, vp_translate, small_prim_precision, options,
117 cull_bbox(struct ac_llvm_context * ctx,LLVMValueRef pos[3][4],LLVMValueRef initially_accepted,struct ac_position_w_info * w,LLVMValueRef vp_scale[2],LLVMValueRef vp_translate[2],LLVMValueRef small_prim_precision,struct ac_cull_options * options,ac_cull_accept_func accept_func,void * userdata) argument
230 ac_cull_primitive(struct ac_llvm_context * ctx,LLVMValueRef pos[3][4],LLVMValueRef initially_accepted,LLVMValueRef vp_scale[2],LLVMValueRef vp_translate[2],LLVMValueRef small_prim_precision,struct ac_cull_options * options,ac_cull_accept_func accept_func,void * userdata) argument
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_nir_cull.c119 nir_ssa_def *small_prim_precision = nir_build_load_cull_small_prim_precision_amd(b); local in function:cull_bbox
128 min = nir_fsub(b, min, small_prim_precision);
129 max = nir_fadd(b, max, small_prim_precision);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_viewport.c75 info.small_prim_precision = num_samples / 4096.0;
77 info.small_prim_precision = num_samples / 1024.0;
79 info.small_prim_precision = num_samples / 256.0;
113 * small_prim_precision is 1 / 2^n. We only need n between 5 (1/32) and 12 (1/4096).
124 sctx->current_vs_state |= S_VS_STATE_SMALL_PRIM_PRECISION(fui(info.small_prim_precision) >> 23);
H A Dgfx10_shader_ngg.c984 LLVMValueRef small_prim_precision = si_unpack_param(ctx, ctx->vs_state_bits, 7, 4); local in function:gfx10_emit_ngg_culling_epilogue
985 small_prim_precision =
986 LLVMBuildOr(builder, small_prim_precision, LLVMConstInt(ctx->ac.i32, 0x70, 0), "");
987 small_prim_precision =
988 LLVMBuildShl(builder, small_prim_precision, LLVMConstInt(ctx->ac.i32, 23, 0), "");
989 small_prim_precision = LLVMBuildBitCast(builder, small_prim_precision, ctx->ac.f32, "");
1015 small_prim_precision, &options,
H A Dsi_pipe.h875 float small_prim_precision; member in struct:si_small_prim_cull_info

Completed in 12 milliseconds