diff options
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_defines.h')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_defines.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/nine_defines.h b/src/gallium/state_trackers/nine/nine_defines.h index 4f61982a724..26aa064b1ac 100644 --- a/src/gallium/state_trackers/nine/nine_defines.h +++ b/src/gallium/state_trackers/nine/nine_defines.h @@ -54,4 +54,12 @@ uint16_t nine_d3d9_to_nine_declusage(unsigned usage, unsigned index); #define NINED3DCLEAR_DEPTHSTENCIL (D3DCLEAR_ZBUFFER | D3DCLEAR_STENCIL) +#define NINE_BIND_BACKBUFFER_FLAGS (PIPE_BIND_RENDER_TARGET |\ + PIPE_BIND_SAMPLER_VIEW) + +#define NINE_BIND_PRESENTBUFFER_FLAGS (PIPE_BIND_RENDER_TARGET |\ + PIPE_BIND_DISPLAY_TARGET |\ + PIPE_BIND_SCANOUT |\ + PIPE_BIND_SHARED) + #endif /* _NINE_DEFINES_H_ */ |