1bf215546Sopenharmony_ci#ifndef U_DIRTY_FLAGS_H
2bf215546Sopenharmony_ci#define U_DIRTY_FLAGS_H
3bf215546Sopenharmony_ci
4bf215546Sopenharmony_ci/* Here's a convenient list of dirty flags to use in a driver.  Either
5bf215546Sopenharmony_ci * include it directly or use it as a starting point for your own
6bf215546Sopenharmony_ci * list.
7bf215546Sopenharmony_ci */
8bf215546Sopenharmony_ci#define U_NEW_VIEWPORT              0x1
9bf215546Sopenharmony_ci#define U_NEW_RASTERIZER            0x2
10bf215546Sopenharmony_ci#define U_NEW_FS                    0x4
11bf215546Sopenharmony_ci#define U_NEW_FS_CONSTANTS          0x8
12bf215546Sopenharmony_ci#define U_NEW_FS_SAMPLER_VIEW       0x10
13bf215546Sopenharmony_ci#define U_NEW_FS_SAMPLER_STATES     0x20
14bf215546Sopenharmony_ci#define U_NEW_VS                    0x40
15bf215546Sopenharmony_ci#define U_NEW_VS_CONSTANTS          0x80
16bf215546Sopenharmony_ci#define U_NEW_VS_SAMPLER_VIEW       0x100
17bf215546Sopenharmony_ci#define U_NEW_VS_SAMPLER_STATES     0x200
18bf215546Sopenharmony_ci#define U_NEW_BLEND                 0x400
19bf215546Sopenharmony_ci#define U_NEW_CLIP                  0x800
20bf215546Sopenharmony_ci#define U_NEW_SCISSOR               0x1000
21bf215546Sopenharmony_ci#define U_NEW_POLYGON_STIPPLE       0x2000
22bf215546Sopenharmony_ci#define U_NEW_FRAMEBUFFER           0x4000
23bf215546Sopenharmony_ci#define U_NEW_VERTEX_ELEMENTS       0x8000
24bf215546Sopenharmony_ci#define U_NEW_VERTEX_BUFFER         0x10000
25bf215546Sopenharmony_ci#define U_NEW_QUERY                 0x20000
26bf215546Sopenharmony_ci#define U_NEW_DEPTH_STENCIL         0x40000
27bf215546Sopenharmony_ci#define U_NEW_GS                    0x80000
28bf215546Sopenharmony_ci#define U_NEW_GS_CONSTANTS          0x100000
29bf215546Sopenharmony_ci#define U_NEW_GS_SAMPLER_VIEW       0x200000
30bf215546Sopenharmony_ci#define U_NEW_GS_SAMPLER_STATES     0x400000
31bf215546Sopenharmony_ci
32bf215546Sopenharmony_ci#endif
33