Lines Matching refs:tex_idx
1024 uint32_t tex_idx = 0; in pipeline_populate_v3d_key() local
1027 key->tex[tex_idx].swizzle[0] = PIPE_SWIZZLE_X; in pipeline_populate_v3d_key()
1028 key->tex[tex_idx].swizzle[1] = PIPE_SWIZZLE_Y; in pipeline_populate_v3d_key()
1029 key->tex[tex_idx].swizzle[2] = PIPE_SWIZZLE_Z; in pipeline_populate_v3d_key()
1030 key->tex[tex_idx].swizzle[3] = PIPE_SWIZZLE_W; in pipeline_populate_v3d_key()
1032 key->tex[tex_idx].return_size = 16; in pipeline_populate_v3d_key()
1033 key->tex[tex_idx].return_channels = 2; in pipeline_populate_v3d_key()
1035 tex_idx++; in pipeline_populate_v3d_key()
1038 key->num_tex_used = tex_idx; in pipeline_populate_v3d_key()
1606 for (uint32_t tex_idx = 0; tex_idx < key->num_tex_used; tex_idx++) { in v3d_key_update_return_size() local
1607 key->tex[tex_idx].return_size = in v3d_key_update_return_size()
1608 texture_map->is_shadow[tex_idx] ? 16 : return_size; in v3d_key_update_return_size()
1610 key->tex[tex_idx].return_channels = in v3d_key_update_return_size()
1611 key->tex[tex_idx].return_size == 16 ? 2 : 4; in v3d_key_update_return_size()