~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/mesa/state_tracker/st_atom_image.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
 
106
106
      img->resource = stObj->pt;
107
107
      img->u.tex.level = u->Level + stObj->Attrib.MinLevel;
 
108
      img->u.tex.single_layer_view = !u->Layered;
108
109
      assert(img->u.tex.level <= img->resource->last_level);
109
110
      if (stObj->pt->target == PIPE_TEXTURE_3D) {
110
111
         if (u->Layered) {