~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/frontends/nine/cubetexture9.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:
68
68
        Levels = 0;
69
69
 
70
70
    pf = d3d9_to_pipe_format_checked(screen, Format, PIPE_TEXTURE_CUBE, 0,
71
 
                                     PIPE_BIND_SAMPLER_VIEW, FALSE,
 
71
                                     PIPE_BIND_SAMPLER_VIEW, false,
72
72
                                     Pool == D3DPOOL_SCRATCH);
73
73
 
74
74
    if (pf == PIPE_FORMAT_NONE)
273
273
 
274
274
    if (This->base.base.pool != D3DPOOL_MANAGED) {
275
275
        if (This->base.base.usage & D3DUSAGE_AUTOGENMIPMAP) {
276
 
            This->base.dirty_mip = TRUE;
 
276
            This->base.dirty_mip = true;
277
277
            BASETEX_REGISTER_UPDATE(&This->base);
278
278
        }
279
279
        return D3D_OK;
280
280
    }
281
281
 
282
282
    if (This->base.base.pool == D3DPOOL_MANAGED) {
283
 
        This->base.managed.dirty = TRUE;
 
283
        This->base.managed.dirty = true;
284
284
        BASETEX_REGISTER_UPDATE(&This->base);
285
285
    }
286
286