~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/frontends/d3d10umd/OutputMerger.cpp

  • 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:
90
90
   struct pipe_surface desc;
91
91
 
92
92
   memset(&desc, 0, sizeof desc);
93
 
   desc.format = FormatTranslate(pCreateRenderTargetView->Format, FALSE);
 
93
   desc.format = FormatTranslate(pCreateRenderTargetView->Format, false);
94
94
 
95
95
   switch (pCreateRenderTargetView->ResourceDimension) {
96
96
   case D3D10DDIRESOURCE_BUFFER:
238
238
                             0, 0,
239
239
                             surface->width,
240
240
                             surface->height,
241
 
                             TRUE);
 
241
                             true);
242
242
}
243
243
 
244
244
 
290
290
   struct pipe_surface desc;
291
291
 
292
292
   memset(&desc, 0, sizeof desc);
293
 
   desc.format = FormatTranslate(pCreateDepthStencilView->Format, TRUE);
 
293
   desc.format = FormatTranslate(pCreateDepthStencilView->Format, true);
294
294
 
295
295
   switch (pCreateDepthStencilView->ResourceDimension) {
296
296
   case D3D10DDIRESOURCE_TEXTURE1D:
387
387
                             0, 0,
388
388
                             surface->width,
389
389
                             surface->height,
390
 
                             TRUE);
 
390
                             true);
391
391
}
392
392
 
393
393
 
480
480
      switch (blend) {
481
481
      case D3D10_DDI_BLEND_SRC1_COLOR:
482
482
      case D3D10_DDI_BLEND_SRC1_ALPHA:
483
 
         LOG_UNSUPPORTED(TRUE);
 
483
         LOG_UNSUPPORTED(true);
484
484
         return D3D10_DDI_BLEND_ZERO;
485
485
      case D3D10_DDI_BLEND_INV_SRC1_COLOR:
486
486
      case D3D10_DDI_BLEND_INV_SRC1_ALPHA:
487
 
         LOG_UNSUPPORTED(TRUE);
 
487
         LOG_UNSUPPORTED(true);
488
488
         return D3D10_DDI_BLEND_ONE;
489
489
      default:
490
490
         break;