Flushes the given GPU caches at the top of the graphics pipeline (before the next Dispatch operation).
public:
void FlushGpuCachesTopOfPipe(
UINT Flags
)
Flags
Type: UINT
[in] Flags to control the flushing, as D3D11_FLUSH enumeration constants, which can be bitwise-OR’ed together.
The only valid flags for the compute context are the following:
D3D11_FLUSH_TEXTURE_L2_WRITEBACK = 0x00040000L
D3D11_FLUSH_TEXTURE_L1_INVALIDATE = 0x00400000L
D3D11_FLUSH_TEXTURE_L2_INVALIDATE = 0x00800000L
D3D11_FLUSH_KCACHE_INVALIDATE = 0x08000000L
D3D11_FLUSH_ICACHE_INVALIDATE = 0x20000000L
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.