Home
last modified time | relevance | path

Searched refs:alpha_ref_value (Results 1 – 25 of 37) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_zsa.c92 so->rb_alpha_ref = A3XX_RB_ALPHA_REF_UINT(cso->alpha_ref_value * 255.0f) | in fd3_zsa_state_create()
93 A3XX_RB_ALPHA_REF_FLOAT(cso->alpha_ref_value); in fd3_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend.c328 LLVMValueRef alpha_ref_value; in lp_build_alpha_to_coverage() local
332 alpha_ref_value = lp_build_const_vec(gallivm, type, 0.5); in lp_build_alpha_to_coverage()
334 test = lp_build_cmp(&bld, PIPE_FUNC_GREATER, alpha, alpha_ref_value); in lp_build_alpha_to_coverage()
Dlp_linear.c132 jit.alpha_ref_value = float_to_ubyte(state->jit_context.alpha_ref_value); in lp_fs_linear_run()
Dlp_jit.h163 float alpha_ref_value; member
359 uint8_t alpha_ref_value; member
Dlp_setup.h100 float alpha_ref_value);
Dlp_setup.c763 float alpha_ref_value) in lp_setup_set_alpha_ref_value() argument
765 LP_DBG(DEBUG_SETUP, "%s %f\n", __FUNCTION__, alpha_ref_value); in lp_setup_set_alpha_ref_value()
767 if (setup->fs.current.jit_context.alpha_ref_value != alpha_ref_value) { in lp_setup_set_alpha_ref_value()
768 setup->fs.current.jit_context.alpha_ref_value = alpha_ref_value; in lp_setup_set_alpha_ref_value()
Dlp_jit.c264 LP_CHECK_MEMBER_OFFSET(struct lp_jit_context, alpha_ref_value, in lp_jit_create_types()
378 LP_CHECK_MEMBER_OFFSET(struct lp_jit_linear_context, alpha_ref_value, in lp_jit_create_types()
Dlp_state_derived.c324 llvmpipe->depth_stencil->alpha_ref_value); in llvmpipe_update_derived()
Dlp_state_fs.c416 LLVMValueRef alpha_ref_value = lp_build_const_vec(gallivm, type, step * s); in lp_build_sample_alpha_to_coverage() local
417 LLVMValueRef test = lp_build_cmp(&bld, PIPE_FUNC_GREATER, alpha, alpha_ref_value); in lp_build_sample_alpha_to_coverage()
1056 LLVMValueRef alpha_ref_value; in generate_fs_loop() local
1058 alpha_ref_value = lp_jit_context_alpha_ref_value(gallivm, context_ptr); in generate_fs_loop()
1059 alpha_ref_value = lp_build_broadcast(gallivm, vec_type, alpha_ref_value); in generate_fs_loop()
1064 &mask, alpha, alpha_ref_value, in generate_fs_loop()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_zsa.c96 extra_reference = _mesa_float_to_half(SATURATE(so->alpha_ref_value)); in etna_zsa_state_create()
104 VIVS_PE_ALPHA_OP_ALPHA_REF(etna_cfloat_to_uint8(so->alpha_ref_value)); in etna_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_zsa.c90 so->rb_alpha_ref = fui(cso->alpha_ref_value); in fd2_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_zsa.c90 uint32_t ref = cso->alpha_ref_value * 255.0f; in fd4_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_zsa.c108 uint32_t ref = cso->alpha_ref_value * 255.0f; in fd5_zsa_state_create()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_depth.c135 dsa->alpha_ref_value = ctx->Color.AlphaRefUnclamped; in st_update_depth_stencil_alpha()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_zsa.c196 uint32_t ref = cso->alpha_ref_value * 255.0f; in fd6_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_depthstencil.c203 ds->alpharef = templ->alpha_ref_value; in svga_create_depth_stencil_state()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h346 float alpha_ref_value; /**< reference value */ member
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c69 dsa.alpha_ref_value = (float)rs[D3DRS_ALPHAREF] / 255.0f; in nine_convert_dsa_state()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c268 SB_DATA (so, float_to_ubyte(cso->alpha_ref_value)); in nv30_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c424 SB_DATA (so, fui(cso->alpha_ref_value)); in nv50_zsa_state_create()
433 SB_DATA (so, fui(cso->alpha_ref_value)); in nv50_zsa_state_create()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump_state.c397 trace_dump_member(float, state, alpha_ref_value); in trace_dump_depth_stencil_alpha_state()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state.c757 dsa->alpha_function |= float_to_ubyte(state->alpha_ref_value); in r300_create_dsa_state()
758 alpha_value_fp16 = _mesa_float_to_half(state->alpha_ref_value); in r300_create_dsa_state()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state.c491 ubyte refByte = float_to_ubyte(depth_stencil->alpha_ref_value); in i915_create_depth_stencil_state()
/third_party/mesa3d/src/gallium/tools/trace/
Ddump_state.py337 del state.alpha_ref_value
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test.c689 const float ref = qs->softpipe->depth_stencil->alpha_ref_value; \

12