Searched refs:res_target (Results 1 – 2 of 2) sorted by relevance
1887 unsigned res_target = tex->buffer.b.b.target; in si_tex_dim() local1890 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()
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()