ID3D11ComputeContextX::FlushGpuCachesTopOfPipe Method

Flushes the given GPU caches at the top of the graphics pipeline (before the next Dispatch operation).

Syntax

public:
void FlushGpuCachesTopOfPipe(
         UINT Flags
)  

Parameters

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  

Return value

None.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11ComputeContextX Interface

ID3D11ComputeContextX Members