Lines Matching defs:dim
1721 enum glsl_sampler_dim dim;
1723 case SpvDim1D: dim = GLSL_SAMPLER_DIM_1D; break;
1724 case SpvDim2D: dim = GLSL_SAMPLER_DIM_2D; break;
1725 case SpvDim3D: dim = GLSL_SAMPLER_DIM_3D; break;
1726 case SpvDimCube: dim = GLSL_SAMPLER_DIM_CUBE; break;
1727 case SpvDimRect: dim = GLSL_SAMPLER_DIM_RECT; break;
1728 case SpvDimBuffer: dim = GLSL_SAMPLER_DIM_BUF; break;
1729 case SpvDimSubpassData: dim = GLSL_SAMPLER_DIM_SUBPASS; break;
1752 if (dim == GLSL_SAMPLER_DIM_2D)
1753 dim = GLSL_SAMPLER_DIM_MS;
1754 else if (dim == GLSL_SAMPLER_DIM_SUBPASS)
1755 dim = GLSL_SAMPLER_DIM_SUBPASS_MS;
1765 val->type->glsl_image = glsl_texture_type(dim, is_array,
1768 val->type->glsl_image = glsl_image_type(dim, is_array,
1771 val->type->glsl_image = glsl_image_type(dim, is_array,
3216 /* The image_load_store intrinsics assume a 4-dim coordinate */