Home
last modified time | relevance | path

Searched refs:res_target (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c2167 unsigned res_target = tex->buffer.b.b.target; in si_tex_dim() local
2170 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()
/third_party/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c176 unsigned res_target = rtex->resource.b.b.target; in r600_tex_dim() local
180 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()