Searched refs:max_rgb (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 2337 LLVMValueRef max_rgb = LLVMConstInt(ctx->i32, bits == 8 ? 127 : bits == 10 ? 511 : 32767, 0); in ac_build_cvt_pk_i16() local 2339 LLVMValueRef max_alpha = bits != 10 ? max_rgb : ctx->i32_1; in ac_build_cvt_pk_i16() 2346 args[i] = ac_build_imin(ctx, args[i], alpha ? max_alpha : max_rgb); in ac_build_cvt_pk_i16() 2362 LLVMValueRef max_rgb = LLVMConstInt(ctx->i32, bits == 8 ? 255 : bits == 10 ? 1023 : 65535, 0); in ac_build_cvt_pk_u16() local 2363 LLVMValueRef max_alpha = bits != 10 ? max_rgb : LLVMConstInt(ctx->i32, 3, 0); in ac_build_cvt_pk_u16() 2369 args[i] = ac_build_umin(ctx, args[i], alpha ? max_alpha : max_rgb); in ac_build_cvt_pk_u16()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 10460 uint32_t max_rgb = is_int8 ? 255 : is_int10 ? 1023 : 0; in export_fs_mrt_color() local 10461 Temp max_rgb_val = bld.copy(bld.def(s1), Operand(max_rgb)); in export_fs_mrt_color() 10485 uint32_t max_rgb = is_int8 ? 127 : is_int10 ? 511 : 0; in export_fs_mrt_color() local 10487 Temp max_rgb_val = bld.copy(bld.def(s1), Operand(max_rgb)); in export_fs_mrt_color()
|