Searched refs:small_prim_precision (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_cull.c | 147 LLVMValueRef small_prim_precision, in cull_bbox() argument 221 min = LLVMBuildFSub(builder, min, small_prim_precision, ""); in cull_bbox() 222 max = LLVMBuildFAdd(builder, max, small_prim_precision, ""); in cull_bbox() 294 min = LLVMBuildFSub(builder, min, small_prim_precision, ""); in cull_bbox() 295 max = LLVMBuildFAdd(builder, max, small_prim_precision, ""); in cull_bbox() 339 LLVMValueRef vp_translate[2], LLVMValueRef small_prim_precision, in ac_cull_primitive() argument 357 cull_bbox(ctx, pos, accepted, &w, vp_scale, vp_translate, small_prim_precision, in ac_cull_primitive()
|
D | ac_llvm_cull.h | 59 LLVMValueRef vp_translate[2], LLVMValueRef small_prim_precision,
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_cull.c | 119 nir_ssa_def *small_prim_precision = nir_load_cull_small_prim_precision_amd(b); in cull_bbox() local 128 min = nir_fsub(b, min, small_prim_precision); in cull_bbox() 129 max = nir_fadd(b, max, small_prim_precision); in cull_bbox()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 942 LLVMValueRef vp_scale[2] = {}, vp_translate[2] = {}, small_prim_precision = NULL; in cull_primitive() local 969 small_prim_precision = GET_FIELD(ctx, GS_STATE_SMALL_PRIM_PRECISION_NO_AA); in cull_primitive() 978 small_prim_precision = GET_FIELD(ctx, GS_STATE_SMALL_PRIM_PRECISION); in cull_primitive() 988 small_prim_precision = in cull_primitive() 989 LLVMBuildOr(builder, small_prim_precision, LLVMConstInt(ctx->ac.i32, 0x70, 0), ""); in cull_primitive() 990 small_prim_precision = in cull_primitive() 991 LLVMBuildShl(builder, small_prim_precision, LLVMConstInt(ctx->ac.i32, 23, 0), ""); in cull_primitive() 992 small_prim_precision = LLVMBuildBitCast(builder, small_prim_precision, ctx->ac.f32, ""); in cull_primitive() 1000 small_prim_precision, clip_half_line_width, in cull_primitive()
|
D | si_state_viewport.c | 131 float small_prim_precision = num_samples * small_prim_precision_no_aa; in si_emit_cull_state() local 148 (fui(small_prim_precision) >> 23) & 0xf); in si_emit_cull_state()
|