Searched refs:res_target (Results 1 – 2 of 2) sorted by relevance
2167 unsigned res_target = tex->buffer.b.b.target; in si_tex_dim() local2170 res_target = view_target; in si_tex_dim()2172 else if (res_target == PIPE_TEXTURE_CUBE || res_target == PIPE_TEXTURE_CUBE_ARRAY) in si_tex_dim()2173 res_target = PIPE_TEXTURE_2D_ARRAY; in si_tex_dim()2176 if ((res_target == PIPE_TEXTURE_1D || res_target == PIPE_TEXTURE_1D_ARRAY) && in si_tex_dim()2179 if (res_target == PIPE_TEXTURE_1D) in si_tex_dim()2180 res_target = PIPE_TEXTURE_2D; in si_tex_dim()2182 res_target = PIPE_TEXTURE_2D_ARRAY; in si_tex_dim()2185 switch (res_target) { in si_tex_dim()
176 unsigned res_target = rtex->resource.b.b.target; in r600_tex_dim() local180 res_target = view_target; in r600_tex_dim()182 else if (res_target == PIPE_TEXTURE_CUBE || in r600_tex_dim()183 res_target == PIPE_TEXTURE_CUBE_ARRAY) in r600_tex_dim()184 res_target = PIPE_TEXTURE_2D_ARRAY; in r600_tex_dim()186 switch (res_target) { in r600_tex_dim()