~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/gallium/drivers/nouveau/nv50/nv50_transfer.h

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#ifndef __NV50_TRANSFER_H__
3
 
#define __NV50_TRANSFER_H__
4
 
 
5
 
#include "pipe/p_state.h"
6
 
 
7
 
struct nv50_m2mf_rect {
8
 
   struct nouveau_bo *bo;
9
 
   uint32_t base;
10
 
   unsigned domain;
11
 
   uint32_t pitch;
12
 
   uint32_t width;
13
 
   uint32_t x;
14
 
   uint32_t height;
15
 
   uint32_t y;
16
 
   uint16_t depth;
17
 
   uint16_t z;
18
 
   uint16_t tile_mode;
19
 
   uint16_t cpp;
20
 
};
21
 
 
22
 
void
23
 
nv50_m2mf_rect_setup(struct nv50_m2mf_rect *rect,
24
 
                     struct pipe_resource *restrict res, unsigned l,
25
 
                     unsigned x, unsigned y, unsigned z);
26
 
 
27
 
#endif