Lines Matching refs:nr_samples
102 static unsigned r600_tex_dim(unsigned dim, unsigned nr_samples)
112 return nr_samples > 1 ? V_038000_SQ_TEX_DIM_2D_MSAA :
115 return nr_samples > 1 ? V_038000_SQ_TEX_DIM_2D_ARRAY_MSAA :
1086 view->tex_resource_words[0] = (S_038000_DIM(r600_tex_dim(texture->target, texture->nr_samples)) |
1107 if (texture->nr_samples > 1) {
1108 /* LAST_LEVEL holds log2(nr_samples) for multisample textures */
1109 view->tex_resource_words[5] |= S_038014_LAST_LEVEL(util_logbase2(texture->nr_samples));
1576 R600_ERR("Invalid nr_samples %i\n", nsample);
1588 uint32_t tl, br, i, nr_samples, max_dist;
1590 state->cbufs[0]->texture->nr_samples > 1 &&
1591 state->cbufs[1]->texture->nr_samples <= 1;
1715 nr_samples = state->cbufs[0]->texture->nr_samples;
1717 nr_samples = state->zsbuf->texture->nr_samples;
1719 nr_samples = 0;
1721 max_dist = r600_set_ms_pos(ctx, rstate, nr_samples);
1723 if (nr_samples > 1) {
1724 unsigned log_samples = util_logbase2(nr_samples);