Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blend_shaders.c189 nir_ssa_def *s_src[] = {nir_load_var(b, c_src), nir_load_var(b, c_src1)}; in panfrost_create_blend_shader() local
191 for (int i = 0; i < ARRAY_SIZE(s_src); ++i) { in panfrost_create_blend_shader()
193 s_src[i] = nir_f2f16(b, s_src[i]); in panfrost_create_blend_shader()
195 s_src[i] = nir_i2i16(b, nir_iclamp(b, s_src[i], -32768, 32767)); in panfrost_create_blend_shader()
197 s_src[i] = nir_u2u16(b, nir_umin(b, s_src[i], nir_imm_int(b, 65535))); in panfrost_create_blend_shader()
199 s_src[i] = nir_i2i8(b, nir_iclamp(b, s_src[i], -128, 127)); in panfrost_create_blend_shader()
201 s_src[i] = nir_u2u8(b, nir_umin(b, s_src[i], nir_imm_int(b, 255))); in panfrost_create_blend_shader()
205 nir_store_var(b, c_out, s_src[0], 0xFF); in panfrost_create_blend_shader()
210 options.src1 = s_src[1]; in panfrost_create_blend_shader()
/external/mesa3d/src/util/format/
Du_format_zs.c547 const uint8_t *s_src = s_src_row; in util_format_z24_unorm_s8_uint_pack_separate() local
550 *dst++ = (*z_src++ & 0x00ffffff) | ((uint32_t)*s_src++ << 24); in util_format_z24_unorm_s8_uint_pack_separate()