Home
last modified time | relevance | path

Searched refs:sampler_reg (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_generator.cpp296 struct brw_reg sampler_reg = vec1(retype(sampler_index, BRW_REGISTER_TYPE_UD)); in generate_tex() local
302 if (brw_regs_equal(&surface_reg, &sampler_reg)) { in generate_tex()
303 brw_MUL(p, addr, sampler_reg, brw_imm_uw(0x101)); in generate_tex()
305 if (sampler_reg.file == BRW_IMMEDIATE_VALUE) { in generate_tex()
306 brw_OR(p, addr, surface_reg, brw_imm_ud(sampler_reg.ud << 8)); in generate_tex()
308 brw_SHL(p, addr, sampler_reg, brw_imm_ud(8)); in generate_tex()
Dbrw_vec4_nir.cpp1962 src_reg sampler_reg = brw_imm_ud(sampler); in nir_emit_texture() local
2056 sampler_reg = emit_uniformize(temp); in nir_emit_texture()
2140 is_high_sampler(devinfo, sampler_reg)) ? 1 : 0; in nir_emit_texture()
2147 inst->src[2] = sampler_reg; in nir_emit_texture()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_soa.c2070 unsigned sampler_reg, in emit_tex() argument
2073 unsigned unit = inst->Src[sampler_reg].Register.Index; in emit_tex()
2186 uint32_t comp_val = inst->Src[sampler_reg].Register.SwizzleX; in emit_tex()