Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_texcoord_replace.c77 nir_variable *pntc = nir_find_variable_with_location(b.shader, in nir_lower_texcoord_replace_impl() local
80 if (!pntc) { in nir_lower_texcoord_replace_impl()
81 pntc = nir_variable_create(b.shader, nir_var_shader_in, in nir_lower_texcoord_replace_impl()
83 pntc->data.location = VARYING_SLOT_PNTC; in nir_lower_texcoord_replace_impl()
84 pntc->data.driver_location = b.shader->num_inputs++; in nir_lower_texcoord_replace_impl()
88 new_coord = nir_load_var(&b, pntc); in nir_lower_texcoord_replace_impl()
Dnir_lower_pntc_ytransform.c69 nir_ssa_def *pntc = &intr->dest.ssa; in lower_load_pointcoord() local
71 nir_ssa_def *y = nir_channel(b, pntc, 1); in lower_load_pointcoord()
79 nir_channel(b, pntc, 0), in lower_load_pointcoord()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_draw.c290 unsigned pntc; in nv30_render_validate() local
321 pntc = rast->pipe.sprite_coord_enable & 0x000002ff; in nv30_render_validate()
323 pntc = 0; in nv30_render_validate()
325 while (pntc && attrib < 16) { in nv30_render_validate()
326 uint index = ffs(pntc) - 1; pntc &= ~(1 << index); in nv30_render_validate()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c306 uint32_t pntc[8], mode; in nv50_sprite_coords_validate() local
324 memset(pntc, 0, sizeof(pntc)); in nv50_sprite_coords_validate()
340 pntc[m / 8] |= (c + 1) << ((m % 8) * 4); in nv50_sprite_coords_validate()
355 PUSH_DATAp(push, pntc, 8); in nv50_sprite_coords_validate()