~mmach/netext73/mesa_2004

« back to all changes in this revision

Viewing changes to src/gallium/frontends/xa/xa_renderer.c

  • Committer: mmach
  • Date: 2021-03-25 18:20:58 UTC
  • Revision ID: netbit73@gmail.com-20210325182058-7q5jvfd88o1c7k36
2021-03-25 13:55:17

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
    viewport.translate[0] = width / 2.f;
346
346
    viewport.translate[1] = height / 2.f;
347
347
    viewport.translate[2] = 0.0;
 
348
    viewport.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X;
 
349
    viewport.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y;
 
350
    viewport.swizzle_z = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Z;
 
351
    viewport.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W;
348
352
 
349
353
    /* Constant buffer set up to match viewport dimensions:
350
354
     */