Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1887 unsigned res_target = tex->buffer.b.b.target; in si_tex_dim() local
1890 res_target = view_target; in si_tex_dim()
1892 else if (res_target == PIPE_TEXTURE_CUBE || res_target == PIPE_TEXTURE_CUBE_ARRAY) in si_tex_dim()
1893 res_target = PIPE_TEXTURE_2D_ARRAY; in si_tex_dim()
1896 if ((res_target == PIPE_TEXTURE_1D || res_target == PIPE_TEXTURE_1D_ARRAY) && in si_tex_dim()
1899 if (res_target == PIPE_TEXTURE_1D) in si_tex_dim()
1900 res_target = PIPE_TEXTURE_2D; in si_tex_dim()
1902 res_target = PIPE_TEXTURE_2D_ARRAY; in si_tex_dim()
1905 switch (res_target) { in si_tex_dim()
/external/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()