Home
last modified time | relevance | path

Searched refs:max_rgb (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c2533 LLVMValueRef max_rgb = LLVMConstInt(ctx->i32, in si_llvm_init_export_args() local
2536 !is_int10 ? max_rgb : LLVMConstInt(ctx->i32, 3, 0); in si_llvm_init_export_args()
2543 chan == 3 ? max_alpha : max_rgb); in si_llvm_init_export_args()
2553 LLVMValueRef max_rgb = LLVMConstInt(ctx->i32, in si_llvm_init_export_args() local
2558 !is_int10 ? max_rgb : ctx->i32_1; in si_llvm_init_export_args()
2567 val[chan], chan == 3 ? max_alpha : max_rgb); in si_llvm_init_export_args()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c5898 LLVMValueRef max_rgb = LLVMConstInt(ctx->ac.i32, in si_llvm_init_export_args() local
5900 LLVMValueRef max_alpha = !is_int10 ? max_rgb : LLVMConstInt(ctx->ac.i32, 3, 0); in si_llvm_init_export_args()
5904 val[chan] = emit_minmax_int(&ctx->ac, LLVMIntULT, val[chan], chan == 3 ? max_alpha : max_rgb); in si_llvm_init_export_args()
5914 LLVMValueRef max_rgb = LLVMConstInt(ctx->ac.i32, in si_llvm_init_export_args() local
5918 LLVMValueRef max_alpha = !is_int10 ? max_rgb : ctx->ac.i32_1; in si_llvm_init_export_args()
5924 val[chan] = emit_minmax_int(&ctx->ac, LLVMIntSLT, val[chan], chan == 3 ? max_alpha : max_rgb); in si_llvm_init_export_args()