Lines Matching refs:_min
50 static unsigned _min(unsigned a, unsigned b)
83 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS),
87 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS),
91 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS),
95 = _min(1 << (c->MaxTextureLevels - 1), MAX_TEXTURE_RECT_SIZE);
195 _min(screen->get_shader_param(screen, sh,
239 pc->MaxUniformBlocks = _min(pc->MaxUniformBlocks, MAX_UNIFORM_BUFFERS);
321 _min(c->Program[MESA_SHADER_VERTEX].MaxTextureImageUnits +
331 = _min(c->Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits,
335 _min(c->Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits,
1070 _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE),