Home
last modified time | relevance | path

Searched refs:min_rgb (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c1029 int min_rgb = min_red + min_green + min_blue; in choose_visual() local
1030 if (min_rgb>1 && min_rgb<8) { in choose_visual()
1032 min_rgb = 1; in choose_visual()
1034 vis = choose_x_visual( dpy, screen, min_rgb, visual_type ); in choose_visual()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c2397 LLVMValueRef min_rgb = LLVMConstInt(ctx->i32, bits == 8 ? -128 : bits == 10 ? -512 : -32768, 0); in ac_build_cvt_pk_i16() local
2399 LLVMValueRef min_alpha = bits != 10 ? min_rgb : LLVMConstInt(ctx->i32, -2, 0); in ac_build_cvt_pk_i16()
2406 args[i] = ac_build_imax(ctx, args[i], alpha ? min_alpha : min_rgb); in ac_build_cvt_pk_i16()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c4351 unsigned min_rgb = is_int8 ? -128 : is_int10 ? -512 : 0; in radv_lower_fs_output() local
4357 … : nir_imm_int(&b, min_rgb)); in radv_lower_fs_output()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp11289 uint32_t min_rgb = out->is_int8 ? -128 : out->is_int10 ? -512 : 0; in export_fs_mrt_color() local
11293 uint32_t min = i == 3 && out->is_int10 ? -2u : min_rgb; in export_fs_mrt_color()