Home | History | Annotate | Download | only in spirv

Lines Matching refs:sampled

848       unsigned sampled = w[7];
863 if (sampled == 1) {
866 } else if (sampled == 2) {
872 assert(!"We need to know if the image will be sampled");
1431 struct vtn_sampled_image sampled;
1434 sampled = *sampled_val->sampled_image;
1437 sampled.image = NULL;
1438 sampled.sampler = sampled_val->access_chain;
1442 if (sampled.image) {
1443 image_type = sampled.image->var->var->interface_type;
1445 image_type = sampled.sampler->var->var->interface_type;
1661 nir_deref_var *sampler = vtn_access_chain_to_deref(b, sampled.sampler);
1663 if (sampled.image) {
1664 nir_deref_var *image = vtn_access_chain_to_deref(b, sampled.image);