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.c1920 unsigned res_target = rtex->resource.b.b.target; in si_tex_dim() local
1924 res_target = view_target; in si_tex_dim()
1926 else if (res_target == PIPE_TEXTURE_CUBE || in si_tex_dim()
1927 res_target == PIPE_TEXTURE_CUBE_ARRAY) in si_tex_dim()
1928 res_target = PIPE_TEXTURE_2D_ARRAY; in si_tex_dim()
1931 if ((res_target == PIPE_TEXTURE_1D || in si_tex_dim()
1932 res_target == PIPE_TEXTURE_1D_ARRAY) && in si_tex_dim()
1935 if (res_target == PIPE_TEXTURE_1D) in si_tex_dim()
1936 res_target = PIPE_TEXTURE_2D; in si_tex_dim()
1938 res_target = PIPE_TEXTURE_2D_ARRAY; in si_tex_dim()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c175 unsigned res_target = rtex->resource.b.b.target; in r600_tex_dim() local
179 res_target = view_target; in r600_tex_dim()
181 else if (res_target == PIPE_TEXTURE_CUBE || in r600_tex_dim()
182 res_target == PIPE_TEXTURE_CUBE_ARRAY) in r600_tex_dim()
183 res_target = PIPE_TEXTURE_2D_ARRAY; in r600_tex_dim()
185 switch (res_target) { in r600_tex_dim()