~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/drivers/softpipe/sp_tex_tile_cache.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:
102
102
   }
103
103
}
104
104
 
105
 
static boolean
 
105
static bool
106
106
sp_tex_tile_is_compat_view(struct softpipe_tex_tile_cache *tc,
107
107
                           struct pipe_sampler_view *view)
108
108
{
109
109
   if (!view)
110
 
      return FALSE;
 
110
      return false;
111
111
   return (tc->texture == view->texture &&
112
112
           tc->format == view->format &&
113
113
           tc->swizzle_r == view->swizzle_r &&