RetroArch
Classes | Macros | Typedefs | Enumerations | Functions | Variables
d3d12_common.h File Reference
#include <retro_inline.h>
#include "dxgi_common.h"
#include <d3d12.h>
#include <retro_math.h>
#include <retro_common_api.h>
#include <gfx/math/matrix_4x4.h>
#include "../common/d3dcompiler_common.h"
#include "../video_driver.h"
#include "../drivers_shader/slang_process.h"
Include dependency graph for d3d12_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  d3d12_vertex_t
 
struct  d3d12_sprite_t
 
struct  d3d12_descriptor_heap_t
 
struct  d3d12_texture_t
 
struct  d3d12_video_t
 

Macros

#define ALIGN(x)   __attribute__((aligned(x)))
 

Typedefs

typedef const ID3D12PipelineStateD3D12PipelineStateRef
 
typedef ID3D12ObjectD3D12Object
 
typedef ID3D12DeviceChildD3D12DeviceChild
 
typedef ID3D12RootSignatureD3D12RootSignature
 
typedef ID3D12RootSignatureDeserializerD3D12RootSignatureDeserializer
 
typedef ID3D12VersionedRootSignatureDeserializerD3D12VersionedRootSignatureDeserializer
 
typedef ID3D12PageableD3D12Pageable
 
typedef ID3D12HeapD3D12Heap
 
typedef ID3D12ResourceD3D12Resource
 
typedef ID3D12CommandAllocatorD3D12CommandAllocator
 
typedef ID3D12FenceD3D12Fence
 
typedef ID3D12PipelineStateD3D12PipelineState
 
typedef ID3D12DescriptorHeapD3D12DescriptorHeap
 
typedef ID3D12QueryHeapD3D12QueryHeap
 
typedef ID3D12CommandSignatureD3D12CommandSignature
 
typedef ID3D12CommandListD3D12CommandList
 
typedef ID3D12GraphicsCommandListD3D12GraphicsCommandList
 
typedef ID3D12CommandQueueD3D12CommandQueue
 
typedef ID3D12DeviceD3D12Device
 
typedef ID3D12PipelineLibraryD3D12PipelineLibrary
 
typedef ID3D12DebugD3D12Debug
 
typedef ID3D12DebugDeviceD3D12DebugDevice
 
typedef ID3D12DebugCommandQueueD3D12DebugCommandQueue
 
typedef ID3D12DebugCommandListD3D12DebugCommandList
 
typedef ID3D12InfoQueueD3D12InfoQueue
 
typedef struct d3d12_vertex_t d3d12_vertex_t
 

Enumerations

enum  root_signature_parameter_index_t {
  ROOT_ID_TEXTURE_T = 0, ROOT_ID_SAMPLER_T, ROOT_ID_UBO, ROOT_ID_PC,
  ROOT_ID_MAX
}
 
enum  compute_root_index_t { CS_ROOT_ID_TEXTURE_T = 0, CS_ROOT_ID_UAV_T, CS_ROOT_ID_CONSTANTS, CS_ROOT_ID_MAX }
 

Functions

static INLINE ULONG D3D12Release (void *object)
 
static INLINE ULONG D3D12ReleaseDeviceChild (D3D12DeviceChild device_child)
 
static INLINE ULONG D3D12ReleaseRootSignature (D3D12RootSignature root_signature)
 
static INLINE ULONG D3D12ReleaseRootSignatureDeserializer (D3D12RootSignatureDeserializer root_signature_deserializer)
 
static INLINE const D3D12_ROOT_SIGNATURE_DESCD3D12GetRootSignatureDesc (D3D12RootSignatureDeserializer root_signature_deserializer)
 
static INLINE ULONG D3D12ReleaseVersionedRootSignatureDeserializer (D3D12VersionedRootSignatureDeserializer versioned_root_signature_deserializer)
 
static INLINE HRESULT D3D12GetRootSignatureDescAtVersion (D3D12VersionedRootSignatureDeserializer versioned_root_signature_deserializer, D3D_ROOT_SIGNATURE_VERSION convert_to_version, const D3D12_VERSIONED_ROOT_SIGNATURE_DESC **desc)
 
static INLINE const D3D12_VERSIONED_ROOT_SIGNATURE_DESCD3D12GetUnconvertedRootSignatureDesc (D3D12VersionedRootSignatureDeserializer versioned_root_signature_deserializer)
 
static INLINE ULONG D3D12ReleasePageable (D3D12Pageable pageable)
 
static INLINE ULONG D3D12ReleaseHeap (D3D12Heap heap)
 
static INLINE ULONG D3D12ReleaseResource (void *resource)
 
static INLINE HRESULT D3D12Map (void *resource, UINT subresource, D3D12_RANGE *read_range, void **data)
 
static INLINE void D3D12Unmap (void *resource, UINT subresource, D3D12_RANGE *written_range)
 
static INLINE D3D12_GPU_VIRTUAL_ADDRESS D3D12GetGPUVirtualAddress (void *resource)
 
static INLINE HRESULT D3D12WriteToSubresource (void *resource, UINT dst_subresource, D3D12_BOX *dst_box, void *src_data, UINT src_row_pitch, UINT src_depth_pitch)
 
static INLINE HRESULT D3D12ReadFromSubresource (void *resource, void *dst_data, UINT dst_row_pitch, UINT dst_depth_pitch, UINT src_subresource, D3D12_BOX *src_box)
 
static INLINE HRESULT D3D12GetHeapProperties (void *resource, D3D12_HEAP_PROPERTIES *heap_properties, D3D12_HEAP_FLAGS *heap_flags)
 
static INLINE ULONG D3D12ReleaseCommandAllocator (D3D12CommandAllocator command_allocator)
 
static INLINE HRESULT D3D12ResetCommandAllocator (D3D12CommandAllocator command_allocator)
 
static INLINE ULONG D3D12ReleaseFence (D3D12Fence fence)
 
static INLINE UINT64 D3D12GetCompletedValue (D3D12Fence fence)
 
static INLINE HRESULT D3D12SetEventOnCompletion (D3D12Fence fence, UINT64 value, HANDLE h_event)
 
static INLINE HRESULT D3D12SignalFence (D3D12Fence fence, UINT64 value)
 
static INLINE ULONG D3D12ReleasePipelineState (D3D12PipelineState pipeline_state)
 
static INLINE HRESULT D3D12GetCachedBlob (D3D12PipelineState pipeline_state, ID3DBlob **blob)
 
static INLINE ULONG D3D12ReleaseDescriptorHeap (D3D12DescriptorHeap descriptor_heap)
 
static INLINE ULONG D3D12ReleaseQueryHeap (D3D12QueryHeap query_heap)
 
static INLINE ULONG D3D12ReleaseCommandSignature (D3D12CommandSignature command_signature)
 
static INLINE ULONG D3D12ReleaseCommandList (D3D12CommandList command_list)
 
static INLINE ULONG D3D12ReleaseGraphicsCommandList (D3D12GraphicsCommandList graphics_command_list)
 
static INLINE HRESULT D3D12CloseGraphicsCommandList (D3D12GraphicsCommandList graphics_command_list)
 
static INLINE HRESULT D3D12ResetGraphicsCommandList (D3D12GraphicsCommandList graphics_command_list, D3D12CommandAllocator allocator, D3D12PipelineState initial_state)
 
static INLINE void D3D12ClearState (D3D12GraphicsCommandList graphics_command_list, D3D12PipelineState pipeline_state)
 
static INLINE void D3D12DrawInstanced (D3D12GraphicsCommandList graphics_command_list, UINT vertex_count_per_instance, UINT instance_count, UINT start_vertex_location, UINT start_instance_location)
 
static INLINE void D3D12DrawIndexedInstanced (D3D12GraphicsCommandList graphics_command_list, UINT index_count_per_instance, UINT instance_count, UINT start_index_location, INT base_vertex_location, UINT start_instance_location)
 
static INLINE void D3D12Dispatch (D3D12GraphicsCommandList graphics_command_list, UINT thread_group_count_x, UINT thread_group_count_y, UINT thread_group_count_z)
 
static INLINE void D3D12CopyBufferRegion (D3D12GraphicsCommandList graphics_command_list, D3D12Resource dst_buffer, UINT64 dst_offset, D3D12Resource src_buffer, UINT64 src_offset, UINT64 num_bytes)
 
static INLINE void D3D12CopyTextureRegion (D3D12GraphicsCommandList graphics_command_list, D3D12_TEXTURE_COPY_LOCATION *dst, UINT dst_x, UINT dst_y, UINT dst_z, D3D12_TEXTURE_COPY_LOCATION *src, D3D12_BOX *src_box)
 
static INLINE void D3D12CopyResource (D3D12GraphicsCommandList graphics_command_list, void *dst_resource, void *src_resource)
 
static INLINE void D3D12CopyTiles (D3D12GraphicsCommandList graphics_command_list, void *tiled_resource, D3D12_TILED_RESOURCE_COORDINATE *tile_region_start_coordinate, D3D12_TILE_REGION_SIZE *tile_region_size, void *buffer, UINT64 buffer_start_offset_in_bytes, D3D12_TILE_COPY_FLAGS flags)
 
static INLINE void D3D12ResolveSubresource (D3D12GraphicsCommandList graphics_command_list, void *dst_resource, UINT dst_subresource, void *src_resource, UINT src_subresource, DXGI_FORMAT format)
 
static INLINE void D3D12IASetPrimitiveTopology (D3D12GraphicsCommandList graphics_command_list, D3D12_PRIMITIVE_TOPOLOGY primitive_topology)
 
static INLINE void D3D12RSSetViewports (D3D12GraphicsCommandList graphics_command_list, UINT num_viewports, D3D12_VIEWPORT *viewports)
 
static INLINE void D3D12RSSetScissorRects (D3D12GraphicsCommandList graphics_command_list, UINT num_rects, D3D12_RECT *rects)
 
static INLINE void D3D12OMSetStencilRef (D3D12GraphicsCommandList graphics_command_list, UINT stencil_ref)
 
static INLINE void D3D12SetPipelineState (D3D12GraphicsCommandList graphics_command_list, D3D12PipelineStateRef pipeline_state)
 
static INLINE void D3D12ResourceBarrier (D3D12GraphicsCommandList graphics_command_list, UINT num_barriers, D3D12_RESOURCE_BARRIER *barriers)
 
static INLINE void D3D12ExecuteBundle (D3D12GraphicsCommandList graphics_command_list, D3D12GraphicsCommandList command_list)
 
static INLINE void D3D12SetComputeRootSignature (D3D12GraphicsCommandList graphics_command_list, D3D12RootSignature root_signature)
 
static INLINE void D3D12SetGraphicsRootSignature (D3D12GraphicsCommandList graphics_command_list, D3D12RootSignature root_signature)
 
static INLINE void D3D12SetComputeRootDescriptorTable (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, D3D12_GPU_DESCRIPTOR_HANDLE base_descriptor)
 
static INLINE void D3D12SetGraphicsRootDescriptorTable (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, D3D12_GPU_DESCRIPTOR_HANDLE base_descriptor)
 
static INLINE void D3D12SetComputeRoot32BitConstant (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, UINT src_data, UINT dest_offset_in32_bit_values)
 
static INLINE void D3D12SetGraphicsRoot32BitConstant (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, UINT src_data, UINT dest_offset_in32_bit_values)
 
static INLINE void D3D12SetComputeRoot32BitConstants (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, UINT num32_bit_values_to_set, void *src_data, UINT dest_offset_in32_bit_values)
 
static INLINE void D3D12SetGraphicsRoot32BitConstants (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, UINT num32_bit_values_to_set, void *src_data, UINT dest_offset_in32_bit_values)
 
static INLINE void D3D12SetComputeRootConstantBufferView (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, D3D12_GPU_VIRTUAL_ADDRESS buffer_location)
 
static INLINE void D3D12SetGraphicsRootConstantBufferView (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, D3D12_GPU_VIRTUAL_ADDRESS buffer_location)
 
static INLINE void D3D12SetComputeRootShaderResourceView (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, D3D12_GPU_VIRTUAL_ADDRESS buffer_location)
 
static INLINE void D3D12SetGraphicsRootShaderResourceView (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, D3D12_GPU_VIRTUAL_ADDRESS buffer_location)
 
static INLINE void D3D12SetComputeRootUnorderedAccessView (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, D3D12_GPU_VIRTUAL_ADDRESS buffer_location)
 
static INLINE void D3D12SetGraphicsRootUnorderedAccessView (D3D12GraphicsCommandList graphics_command_list, UINT root_parameter_index, D3D12_GPU_VIRTUAL_ADDRESS buffer_location)
 
static INLINE void D3D12IASetIndexBuffer (D3D12GraphicsCommandList graphics_command_list, D3D12_INDEX_BUFFER_VIEW *view)
 
static INLINE void D3D12IASetVertexBuffers (D3D12GraphicsCommandList graphics_command_list, UINT start_slot, UINT num_views, D3D12_VERTEX_BUFFER_VIEW *views)
 
static INLINE void D3D12SOSetTargets (D3D12GraphicsCommandList graphics_command_list, UINT start_slot, UINT num_views, D3D12_STREAM_OUTPUT_BUFFER_VIEW *views)
 
static INLINE void D3D12OMSetRenderTargets (D3D12GraphicsCommandList graphics_command_list, UINT num_render_target_descriptors, D3D12_CPU_DESCRIPTOR_HANDLE *render_target_descriptors, BOOL r_ts_single_handle_to_descriptor_range, D3D12_CPU_DESCRIPTOR_HANDLE *depth_stencil_descriptor)
 
static INLINE void D3D12ClearDepthStencilView (D3D12GraphicsCommandList graphics_command_list, D3D12_CPU_DESCRIPTOR_HANDLE depth_stencil_view, D3D12_CLEAR_FLAGS clear_flags, FLOAT depth, UINT8 stencil, UINT num_rects, D3D12_RECT *rects)
 
static INLINE void D3D12DiscardResource (D3D12GraphicsCommandList graphics_command_list, void *resource, D3D12_DISCARD_REGION *region)
 
static INLINE void D3D12BeginQuery (D3D12GraphicsCommandList graphics_command_list, D3D12QueryHeap query_heap, D3D12_QUERY_TYPE type, UINT index)
 
static INLINE void D3D12EndQuery (D3D12GraphicsCommandList graphics_command_list, D3D12QueryHeap query_heap, D3D12_QUERY_TYPE type, UINT index)
 
static INLINE void D3D12ResolveQueryData (D3D12GraphicsCommandList graphics_command_list, D3D12QueryHeap query_heap, D3D12_QUERY_TYPE type, UINT start_index, UINT num_queries, void *destination_buffer, UINT64 aligned_destination_buffer_offset)
 
static INLINE void D3D12SetPredication (D3D12GraphicsCommandList graphics_command_list, void *buffer, UINT64 aligned_buffer_offset, D3D12_PREDICATION_OP operation)
 
static INLINE void D3D12SetGraphicsCommandListMarker (D3D12GraphicsCommandList graphics_command_list, UINT metadata, void *data, UINT size)
 
static INLINE void D3D12BeginGraphicsCommandListEvent (D3D12GraphicsCommandList graphics_command_list, UINT metadata, void *data, UINT size)
 
static INLINE void D3D12EndGraphicsCommandListEvent (D3D12GraphicsCommandList graphics_command_list)
 
static INLINE void D3D12ExecuteIndirect (D3D12GraphicsCommandList graphics_command_list, D3D12CommandSignature command_signature, UINT max_command_count, void *argument_buffer, UINT64 argument_buffer_offset, void *count_buffer, UINT64 count_buffer_offset)
 
static INLINE ULONG D3D12ReleaseCommandQueue (D3D12CommandQueue command_queue)
 
static INLINE void D3D12UpdateTileMappings (D3D12CommandQueue command_queue, void *resource, UINT num_resource_regions, D3D12_TILED_RESOURCE_COORDINATE *resource_region_start_coordinates, D3D12_TILE_REGION_SIZE *resource_region_sizes, D3D12Heap heap, UINT num_ranges, D3D12_TILE_RANGE_FLAGS *range_flags, UINT *heap_range_start_offsets, UINT *range_tile_counts, D3D12_TILE_MAPPING_FLAGS flags)
 
static INLINE void D3D12CopyTileMappings (D3D12CommandQueue command_queue, void *dst_resource, D3D12_TILED_RESOURCE_COORDINATE *dst_region_start_coordinate, void *src_resource, D3D12_TILED_RESOURCE_COORDINATE *src_region_start_coordinate, D3D12_TILE_REGION_SIZE *region_size, D3D12_TILE_MAPPING_FLAGS flags)
 
static INLINE void D3D12SetCommandQueueMarker (D3D12CommandQueue command_queue, UINT metadata, void *data, UINT size)
 
static INLINE void D3D12BeginCommandQueueEvent (D3D12CommandQueue command_queue, UINT metadata, void *data, UINT size)
 
static INLINE void D3D12EndCommandQueueEvent (D3D12CommandQueue command_queue)
 
static INLINE HRESULT D3D12SignalCommandQueue (D3D12CommandQueue command_queue, D3D12Fence fence, UINT64 value)
 
static INLINE HRESULT D3D12Wait (D3D12CommandQueue command_queue, D3D12Fence fence, UINT64 value)
 
static INLINE HRESULT D3D12GetTimestampFrequency (D3D12CommandQueue command_queue, UINT64 *frequency)
 
static INLINE HRESULT D3D12GetClockCalibration (D3D12CommandQueue command_queue, UINT64 *gpu_timestamp, UINT64 *cpu_timestamp)
 
static INLINE ULONG D3D12ReleaseDevice (D3D12Device device)
 
static INLINE UINT D3D12GetNodeCount (D3D12Device device)
 
static INLINE HRESULT D3D12CreateCommandQueue (D3D12Device device, D3D12_COMMAND_QUEUE_DESC *desc, ID3D12CommandQueue **out)
 
static INLINE HRESULT D3D12CreateCommandAllocator (D3D12Device device, D3D12_COMMAND_LIST_TYPE type, ID3D12CommandAllocator **out)
 
static INLINE HRESULT D3D12CreateGraphicsPipelineState (D3D12Device device, D3D12_GRAPHICS_PIPELINE_STATE_DESC *desc, ID3D12PipelineState **out)
 
static INLINE HRESULT D3D12CreateComputePipelineState (D3D12Device device, D3D12_COMPUTE_PIPELINE_STATE_DESC *desc, ID3D12PipelineState **out)
 
static INLINE HRESULT D3D12CreateCommandList (D3D12Device device, UINT node_mask, D3D12_COMMAND_LIST_TYPE type, D3D12CommandAllocator command_allocator, D3D12PipelineState initial_state, ID3D12CommandList **out)
 
static INLINE HRESULT D3D12CheckFeatureSupport (D3D12Device device, D3D12_FEATURE feature, void *feature_support_data, UINT feature_support_data_size)
 
static INLINE HRESULT D3D12CreateDescriptorHeap (D3D12Device device, D3D12_DESCRIPTOR_HEAP_DESC *descriptor_heap_desc, D3D12DescriptorHeap *out)
 
static INLINE UINT D3D12GetDescriptorHandleIncrementSize (D3D12Device device, D3D12_DESCRIPTOR_HEAP_TYPE descriptor_heap_type)
 
static INLINE HRESULT D3D12CreateRootSignature (D3D12Device device, UINT node_mask, void *blob_with_root_signature, SIZE_T blob_length_in_bytes, ID3D12RootSignature **out)
 
static INLINE void D3D12CreateConstantBufferView (D3D12Device device, D3D12_CONSTANT_BUFFER_VIEW_DESC *desc, D3D12_CPU_DESCRIPTOR_HANDLE dest_descriptor)
 
static INLINE void D3D12CreateShaderResourceView (D3D12Device device, D3D12Resource resource, D3D12_SHADER_RESOURCE_VIEW_DESC *desc, D3D12_CPU_DESCRIPTOR_HANDLE dest_descriptor)
 
static INLINE void D3D12CreateUnorderedAccessView (D3D12Device device, void *resource, void *counter_resource, D3D12_UNORDERED_ACCESS_VIEW_DESC *desc, D3D12_CPU_DESCRIPTOR_HANDLE dest_descriptor)
 
static INLINE void D3D12CreateRenderTargetView (D3D12Device device, void *resource, D3D12_RENDER_TARGET_VIEW_DESC *desc, D3D12_CPU_DESCRIPTOR_HANDLE dest_descriptor)
 
static INLINE void D3D12CreateDepthStencilView (D3D12Device device, void *resource, D3D12_DEPTH_STENCIL_VIEW_DESC *desc, D3D12_CPU_DESCRIPTOR_HANDLE dest_descriptor)
 
static INLINE void D3D12CreateSampler (D3D12Device device, D3D12_SAMPLER_DESC *desc, D3D12_CPU_DESCRIPTOR_HANDLE dest_descriptor)
 
static INLINE void D3D12CopyDescriptors (D3D12Device device, UINT num_dest_descriptor_ranges, D3D12_CPU_DESCRIPTOR_HANDLE *dest_descriptor_range_starts, UINT *dest_descriptor_range_sizes, UINT num_src_descriptor_ranges, D3D12_CPU_DESCRIPTOR_HANDLE *src_descriptor_range_starts, UINT *src_descriptor_range_sizes, D3D12_DESCRIPTOR_HEAP_TYPE descriptor_heaps_type)
 
static INLINE void D3D12CopyDescriptorsSimple (D3D12Device device, UINT num_descriptors, D3D12_CPU_DESCRIPTOR_HANDLE dest_descriptor_range_start, D3D12_CPU_DESCRIPTOR_HANDLE src_descriptor_range_start, D3D12_DESCRIPTOR_HEAP_TYPE descriptor_heaps_type)
 
static INLINE D3D12_RESOURCE_ALLOCATION_INFO D3D12GetResourceAllocationInfo (D3D12Device device, UINT visible_mask, UINT num_resource_descs, D3D12_RESOURCE_DESC *resource_descs)
 
static INLINE D3D12_HEAP_PROPERTIES D3D12GetCustomHeapProperties (D3D12Device device, UINT node_mask, D3D12_HEAP_TYPE heap_type)
 
static INLINE HRESULT D3D12CreateCommittedResource (D3D12Device device, D3D12_HEAP_PROPERTIES *heap_properties, D3D12_HEAP_FLAGS heap_flags, D3D12_RESOURCE_DESC *desc, D3D12_RESOURCE_STATES initial_resource_state, D3D12_CLEAR_VALUE *optimized_clear_value, ID3D12Resource **out)
 
static INLINE HRESULT D3D12CreateHeap (D3D12Device device, D3D12_HEAP_DESC *desc, ID3D12Heap **out)
 
static INLINE HRESULT D3D12CreatePlacedResource (D3D12Device device, D3D12Heap heap, UINT64 heap_offset, D3D12_RESOURCE_DESC *desc, D3D12_RESOURCE_STATES initial_state, D3D12_CLEAR_VALUE *optimized_clear_value, ID3D12Resource **out)
 
static INLINE HRESULT D3D12CreateReservedResource (D3D12Device device, D3D12_RESOURCE_DESC *desc, D3D12_RESOURCE_STATES initial_state, D3D12_CLEAR_VALUE *optimized_clear_value, ID3D12Resource **out)
 
static INLINE HRESULT D3D12CreateFence (D3D12Device device, UINT64 initial_value, D3D12_FENCE_FLAGS flags, ID3D12Fence **out)
 
static INLINE HRESULT D3D12GetDeviceRemovedReason (D3D12Device device)
 
static INLINE void D3D12GetCopyableFootprints (D3D12Device device, D3D12_RESOURCE_DESC *resource_desc, UINT first_subresource, UINT num_subresources, UINT64 base_offset, D3D12_PLACED_SUBRESOURCE_FOOTPRINT *layouts, UINT *num_rows, UINT64 *row_size_in_bytes, UINT64 *total_bytes)
 
static INLINE HRESULT D3D12CreateQueryHeap (D3D12Device device, D3D12_QUERY_HEAP_DESC *desc, ID3D12Heap **out)
 
static INLINE HRESULT D3D12SetStablePowerState (D3D12Device device, BOOL enable)
 
static INLINE HRESULT D3D12CreateCommandSignature (D3D12Device device, D3D12_COMMAND_SIGNATURE_DESC *desc, D3D12RootSignature root_signature, ID3D12CommandSignature **out)
 
static INLINE void D3D12GetResourceTiling (D3D12Device device, void *tiled_resource, UINT *num_tiles_for_entire_resource, D3D12_PACKED_MIP_INFO *packed_mip_desc, D3D12_TILE_SHAPE *standard_tile_shape_for_non_packed_mips, UINT *num_subresource_tilings, UINT first_subresource_tiling_to_get, D3D12_SUBRESOURCE_TILING *subresource_tilings_for_non_packed_mips)
 
static INLINE LUID D3D12GetAdapterLuid (D3D12Device device)
 
static INLINE ULONG D3D12ReleasePipelineLibrary (D3D12PipelineLibrary pipeline_library)
 
static INLINE HRESULT D3D12StorePipeline (D3D12PipelineLibrary pipeline_library, LPCWSTR name, D3D12PipelineState pipeline)
 
static INLINE HRESULT D3D12LoadGraphicsPipeline (D3D12PipelineLibrary pipeline_library, LPCWSTR name, D3D12_GRAPHICS_PIPELINE_STATE_DESC *desc, ID3D12PipelineState **out)
 
static INLINE HRESULT D3D12LoadComputePipeline (D3D12PipelineLibrary pipeline_library, LPCWSTR name, D3D12_COMPUTE_PIPELINE_STATE_DESC *desc, ID3D12PipelineState **out)
 
static INLINE SIZE_T D3D12GetSerializedSize (D3D12PipelineLibrary pipeline_library)
 
static INLINE HRESULT D3D12Serialize (D3D12PipelineLibrary pipeline_library, void *data, SIZE_T data_size_in_bytes)
 
static INLINE ULONG D3D12ReleaseDebug (D3D12Debug debug)
 
static INLINE void D3D12EnableDebugLayer (D3D12Debug debug)
 
static INLINE ULONG D3D12ReleaseDebugDevice (D3D12DebugDevice debug_device)
 
static INLINE HRESULT D3D12SetDebugDeviceFeatureMask (D3D12DebugDevice debug_device, D3D12_DEBUG_FEATURE mask)
 
static INLINE D3D12_DEBUG_FEATURE D3D12GetDebugDeviceFeatureMask (D3D12DebugDevice debug_device)
 
static INLINE HRESULT D3D12ReportLiveDeviceObjects (D3D12DebugDevice debug_device, D3D12_RLDO_FLAGS flags)
 
static INLINE ULONG D3D12ReleaseDebugCommandQueue (D3D12DebugCommandQueue debug_command_queue)
 
static INLINE BOOL D3D12AssertDebugCommandQueueResourceState (D3D12DebugCommandQueue debug_command_queue, void *resource, UINT subresource, UINT state)
 
static INLINE ULONG D3D12ReleaseDebugCommandList (D3D12DebugCommandList debug_command_list)
 
static INLINE BOOL D3D12AssertDebugCommandListResourceState (D3D12DebugCommandList debug_command_list, void *resource, UINT subresource, UINT state)
 
static INLINE HRESULT D3D12SetDebugCommandListFeatureMask (D3D12DebugCommandList debug_command_list, D3D12_DEBUG_FEATURE mask)
 
static INLINE D3D12_DEBUG_FEATURE D3D12GetDebugCommandListFeatureMask (D3D12DebugCommandList debug_command_list)
 
static INLINE ULONG D3D12ReleaseInfoQueue (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12SetMessageCountLimit (D3D12InfoQueue info_queue, UINT64 message_count_limit)
 
static INLINE void D3D12ClearStoredMessages (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12GetMessageA (D3D12InfoQueue info_queue, UINT64 message_index, D3D12_MESSAGE *message, SIZE_T *message_byte_length)
 
static INLINE UINT64 D3D12GetNumMessagesAllowedByStorageFilter (D3D12InfoQueue info_queue)
 
static INLINE UINT64 D3D12GetNumMessagesDeniedByStorageFilter (D3D12InfoQueue info_queue)
 
static INLINE UINT64 D3D12GetNumStoredMessages (D3D12InfoQueue info_queue)
 
static INLINE UINT64 D3D12GetNumStoredMessagesAllowedByRetrievalFilter (D3D12InfoQueue info_queue)
 
static INLINE UINT64 D3D12GetNumMessagesDiscardedByMessageCountLimit (D3D12InfoQueue info_queue)
 
static INLINE UINT64 D3D12GetMessageCountLimit (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12AddStorageFilterEntries (D3D12InfoQueue info_queue, D3D12_INFO_QUEUE_FILTER *filter)
 
static INLINE HRESULT D3D12GetStorageFilter (D3D12InfoQueue info_queue, D3D12_INFO_QUEUE_FILTER *filter, SIZE_T *filter_byte_length)
 
static INLINE void D3D12ClearStorageFilter (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12PushEmptyStorageFilter (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12PushCopyOfStorageFilter (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12PushStorageFilter (D3D12InfoQueue info_queue, D3D12_INFO_QUEUE_FILTER *filter)
 
static INLINE void D3D12PopStorageFilter (D3D12InfoQueue info_queue)
 
static INLINE UINT D3D12GetStorageFilterStackSize (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12AddRetrievalFilterEntries (D3D12InfoQueue info_queue, D3D12_INFO_QUEUE_FILTER *filter)
 
static INLINE HRESULT D3D12GetRetrievalFilter (D3D12InfoQueue info_queue, D3D12_INFO_QUEUE_FILTER *filter, SIZE_T *filter_byte_length)
 
static INLINE void D3D12ClearRetrievalFilter (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12PushEmptyRetrievalFilter (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12PushCopyOfRetrievalFilter (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12PushRetrievalFilter (D3D12InfoQueue info_queue, D3D12_INFO_QUEUE_FILTER *filter)
 
static INLINE void D3D12PopRetrievalFilter (D3D12InfoQueue info_queue)
 
static INLINE UINT D3D12GetRetrievalFilterStackSize (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12AddMessage (D3D12InfoQueue info_queue, D3D12_MESSAGE_CATEGORY category, D3D12_MESSAGE_SEVERITY severity, D3D12_MESSAGE_ID i_d, LPCSTR description)
 
static INLINE HRESULT D3D12AddApplicationMessage (D3D12InfoQueue info_queue, D3D12_MESSAGE_SEVERITY severity, LPCSTR description)
 
static INLINE HRESULT D3D12SetBreakOnCategory (D3D12InfoQueue info_queue, D3D12_MESSAGE_CATEGORY category, BOOL b_enable)
 
static INLINE HRESULT D3D12SetBreakOnSeverity (D3D12InfoQueue info_queue, D3D12_MESSAGE_SEVERITY severity, BOOL b_enable)
 
static INLINE HRESULT D3D12SetBreakOnID (D3D12InfoQueue info_queue, D3D12_MESSAGE_ID i_d, BOOL b_enable)
 
static INLINE BOOL D3D12GetBreakOnCategory (D3D12InfoQueue info_queue, D3D12_MESSAGE_CATEGORY category)
 
static INLINE BOOL D3D12GetBreakOnSeverity (D3D12InfoQueue info_queue, D3D12_MESSAGE_SEVERITY severity)
 
static INLINE BOOL D3D12GetBreakOnID (D3D12InfoQueue info_queue, D3D12_MESSAGE_ID i_d)
 
static INLINE void D3D12SetMuteDebugOutput (D3D12InfoQueue info_queue, BOOL b_mute)
 
static INLINE BOOL D3D12GetMuteDebugOutput (D3D12InfoQueue info_queue)
 
static INLINE HRESULT D3D12GetDebugInterface_ (D3D12Debug *out)
 
static INLINE HRESULT D3D12CreateDevice_ (DXGIAdapter adapter, D3D_FEATURE_LEVEL MinimumFeatureLevel, D3D12Device *out)
 
static INLINE HRESULT D3D12CreateGraphicsCommandList (D3D12Device device, UINT node_mask, D3D12_COMMAND_LIST_TYPE type, D3D12CommandAllocator command_allocator, D3D12PipelineState initial_state, D3D12GraphicsCommandList *out)
 
static INLINE void D3D12ClearRenderTargetView (D3D12GraphicsCommandList command_list, D3D12_CPU_DESCRIPTOR_HANDLE render_target_view, const FLOAT colorRGBA[4], UINT num_rects, const D3D12_RECT *rects)
 
static INLINE void D3D12ExecuteCommandLists (D3D12CommandQueue command_queue, UINT num_command_lists, const D3D12CommandList *command_lists)
 
static INLINE void D3D12ExecuteGraphicsCommandLists (D3D12CommandQueue command_queue, UINT num_command_lists, const D3D12GraphicsCommandList *command_lists)
 
static INLINE HRESULT DXGIGetSwapChainBuffer (DXGISwapChain swapchain, UINT buffer, D3D12Resource *surface)
 
static INLINE void D3D12SetDescriptorHeaps (D3D12GraphicsCommandList command_list, UINT num_descriptor_heaps, const D3D12DescriptorHeap *descriptor_heaps)
 
static INLINE D3D12_CPU_DESCRIPTOR_HANDLE D3D12GetCPUDescriptorHandleForHeapStart (D3D12DescriptorHeap descriptor_heap)
 
static INLINE D3D12_GPU_DESCRIPTOR_HANDLE D3D12GetGPUDescriptorHandleForHeapStart (D3D12DescriptorHeap descriptor_heap)
 
struct ALIGN (16)
 
bool d3d12_init_base (d3d12_video_t *d3d12)
 
bool d3d12_init_descriptors (d3d12_video_t *d3d12)
 
void d3d12_init_samplers (d3d12_video_t *d3d12)
 
bool d3d12_init_pipeline (D3D12Device device, D3DBlob vs_code, D3DBlob ps_code, D3DBlob gs_code, D3D12_GRAPHICS_PIPELINE_STATE_DESC *desc, D3D12PipelineState *out)
 
bool d3d12_init_swapchain (d3d12_video_t *d3d12, int width, int height, void *corewindow)
 
bool d3d12_init_queue (d3d12_video_t *d3d12)
 
D3D12_GPU_VIRTUAL_ADDRESS d3d12_create_buffer (D3D12Device device, UINT size_in_bytes, D3D12Resource *buffer)
 
void d3d12_init_texture (D3D12Device device, d3d12_texture_t *tex)
 
void d3d12_release_texture (d3d12_texture_t *texture)
 
void d3d12_update_texture (int width, int height, int pitch, DXGI_FORMAT format, const void *data, d3d12_texture_t *texture)
 
void d3d12_upload_texture (D3D12GraphicsCommandList cmd, d3d12_texture_t *texture, void *userdata)
 
void d3d12_create_fullscreen_quad_vbo (D3D12Device device, D3D12_VERTEX_BUFFER_VIEW *view, D3D12Resource *vbo)
 
DXGI_FORMAT d3d12_get_closest_match (D3D12Device device, D3D12_FEATURE_DATA_FORMAT_SUPPORT *desired)
 
static INLINE void d3d12_resource_transition (D3D12GraphicsCommandList cmd, D3D12Resource resource, D3D12_RESOURCE_STATES state_before, D3D12_RESOURCE_STATES state_after)
 
static INLINE void d3d12_set_texture (D3D12GraphicsCommandList cmd, const d3d12_texture_t *texture)
 
static INLINE void d3d12_set_sampler (D3D12GraphicsCommandList cmd, D3D12_GPU_DESCRIPTOR_HANDLE sampler)
 
static INLINE void d3d12_set_texture_and_sampler (D3D12GraphicsCommandList cmd, const d3d12_texture_t *texture)
 

Variables

 d3d12_uniform_t
 
RETRO_BEGIN_DECLS D3D12_RENDER_TARGET_BLEND_DESC d3d12_blend_enable_desc
 

Macro Definition Documentation

◆ ALIGN

#define ALIGN (   x)    __attribute__((aligned(x)))

Typedef Documentation

◆ d3d12_vertex_t

◆ D3D12CommandAllocator

◆ D3D12CommandList

◆ D3D12CommandQueue

◆ D3D12CommandSignature

◆ D3D12Debug

◆ D3D12DebugCommandList

◆ D3D12DebugCommandQueue

◆ D3D12DebugDevice

◆ D3D12DescriptorHeap

◆ D3D12Device

◆ D3D12DeviceChild

◆ D3D12Fence

◆ D3D12GraphicsCommandList

◆ D3D12Heap

◆ D3D12InfoQueue

◆ D3D12Object

◆ D3D12Pageable

◆ D3D12PipelineLibrary

◆ D3D12PipelineState

◆ D3D12PipelineStateRef

◆ D3D12QueryHeap

◆ D3D12Resource

◆ D3D12RootSignature

◆ D3D12RootSignatureDeserializer

◆ D3D12VersionedRootSignatureDeserializer

Enumeration Type Documentation

◆ compute_root_index_t

Enumerator
CS_ROOT_ID_TEXTURE_T 
CS_ROOT_ID_UAV_T 
CS_ROOT_ID_CONSTANTS 
CS_ROOT_ID_MAX 

◆ root_signature_parameter_index_t

Enumerator
ROOT_ID_TEXTURE_T 
ROOT_ID_SAMPLER_T 
ROOT_ID_UBO 
ROOT_ID_PC 
ROOT_ID_MAX 

Function Documentation

◆ ALIGN()

struct ALIGN ( 16  )
Here is the call graph for this function:

◆ d3d12_create_buffer()

D3D12_GPU_VIRTUAL_ADDRESS d3d12_create_buffer ( D3D12Device  device,
UINT  size_in_bytes,
D3D12Resource buffer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_create_fullscreen_quad_vbo()

void d3d12_create_fullscreen_quad_vbo ( D3D12Device  device,
D3D12_VERTEX_BUFFER_VIEW view,
D3D12Resource vbo 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_get_closest_match()

DXGI_FORMAT d3d12_get_closest_match ( D3D12Device  device,
D3D12_FEATURE_DATA_FORMAT_SUPPORT desired 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_init_base()

bool d3d12_init_base ( d3d12_video_t d3d12)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_init_descriptors()

bool d3d12_init_descriptors ( d3d12_video_t d3d12)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_init_pipeline()

bool d3d12_init_pipeline ( D3D12Device  device,
D3DBlob  vs_code,
D3DBlob  ps_code,
D3DBlob  gs_code,
D3D12_GRAPHICS_PIPELINE_STATE_DESC desc,
D3D12PipelineState out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_init_queue()

bool d3d12_init_queue ( d3d12_video_t d3d12)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_init_samplers()

void d3d12_init_samplers ( d3d12_video_t d3d12)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_init_swapchain()

bool d3d12_init_swapchain ( d3d12_video_t d3d12,
int  width,
int  height,
void corewindow 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_init_texture()

void d3d12_init_texture ( D3D12Device  device,
d3d12_texture_t tex 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_release_texture()

void d3d12_release_texture ( d3d12_texture_t texture)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_resource_transition()

static INLINE void d3d12_resource_transition ( D3D12GraphicsCommandList  cmd,
D3D12Resource  resource,
D3D12_RESOURCE_STATES  state_before,
D3D12_RESOURCE_STATES  state_after 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_set_sampler()

static INLINE void d3d12_set_sampler ( D3D12GraphicsCommandList  cmd,
D3D12_GPU_DESCRIPTOR_HANDLE  sampler 
)
static
Here is the call graph for this function:

◆ d3d12_set_texture()

static INLINE void d3d12_set_texture ( D3D12GraphicsCommandList  cmd,
const d3d12_texture_t texture 
)
static
Here is the call graph for this function:

◆ d3d12_set_texture_and_sampler()

static INLINE void d3d12_set_texture_and_sampler ( D3D12GraphicsCommandList  cmd,
const d3d12_texture_t texture 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_update_texture()

void d3d12_update_texture ( int  width,
int  height,
int  pitch,
DXGI_FORMAT  format,
const void data,
d3d12_texture_t texture 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d12_upload_texture()

void d3d12_upload_texture ( D3D12GraphicsCommandList  cmd,
d3d12_texture_t texture,
void userdata 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D12AddApplicationMessage()

static INLINE HRESULT D3D12AddApplicationMessage ( D3D12InfoQueue  info_queue,
D3D12_MESSAGE_SEVERITY  severity,
LPCSTR  description 
)
static

◆ D3D12AddMessage()

static INLINE HRESULT D3D12AddMessage ( D3D12InfoQueue  info_queue,
D3D12_MESSAGE_CATEGORY  category,
D3D12_MESSAGE_SEVERITY  severity,
D3D12_MESSAGE_ID  i_d,
LPCSTR  description 
)
static

◆ D3D12AddRetrievalFilterEntries()

static INLINE HRESULT D3D12AddRetrievalFilterEntries ( D3D12InfoQueue  info_queue,
D3D12_INFO_QUEUE_FILTER filter 
)
static

◆ D3D12AddStorageFilterEntries()

static INLINE HRESULT D3D12AddStorageFilterEntries ( D3D12InfoQueue  info_queue,
D3D12_INFO_QUEUE_FILTER filter 
)
static

◆ D3D12AssertDebugCommandListResourceState()

static INLINE BOOL D3D12AssertDebugCommandListResourceState ( D3D12DebugCommandList  debug_command_list,
void resource,
UINT  subresource,
UINT  state 
)
static

◆ D3D12AssertDebugCommandQueueResourceState()

static INLINE BOOL D3D12AssertDebugCommandQueueResourceState ( D3D12DebugCommandQueue  debug_command_queue,
void resource,
UINT  subresource,
UINT  state 
)
static

◆ D3D12BeginCommandQueueEvent()

static INLINE void D3D12BeginCommandQueueEvent ( D3D12CommandQueue  command_queue,
UINT  metadata,
void data,
UINT  size 
)
static

◆ D3D12BeginGraphicsCommandListEvent()

static INLINE void D3D12BeginGraphicsCommandListEvent ( D3D12GraphicsCommandList  graphics_command_list,
UINT  metadata,
void data,
UINT  size 
)
static

◆ D3D12BeginQuery()

static INLINE void D3D12BeginQuery ( D3D12GraphicsCommandList  graphics_command_list,
D3D12QueryHeap  query_heap,
D3D12_QUERY_TYPE  type,
UINT  index 
)
static

◆ D3D12CheckFeatureSupport()

static INLINE HRESULT D3D12CheckFeatureSupport ( D3D12Device  device,
D3D12_FEATURE  feature,
void feature_support_data,
UINT  feature_support_data_size 
)
static
Here is the caller graph for this function:

◆ D3D12ClearDepthStencilView()

static INLINE void D3D12ClearDepthStencilView ( D3D12GraphicsCommandList  graphics_command_list,
D3D12_CPU_DESCRIPTOR_HANDLE  depth_stencil_view,
D3D12_CLEAR_FLAGS  clear_flags,
FLOAT  depth,
UINT8  stencil,
UINT  num_rects,
D3D12_RECT rects 
)
static

◆ D3D12ClearRenderTargetView()

static INLINE void D3D12ClearRenderTargetView ( D3D12GraphicsCommandList  command_list,
D3D12_CPU_DESCRIPTOR_HANDLE  render_target_view,
const FLOAT  colorRGBA[4],
UINT  num_rects,
const D3D12_RECT rects 
)
static
Here is the caller graph for this function:

◆ D3D12ClearRetrievalFilter()

static INLINE void D3D12ClearRetrievalFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12ClearState()

static INLINE void D3D12ClearState ( D3D12GraphicsCommandList  graphics_command_list,
D3D12PipelineState  pipeline_state 
)
static

◆ D3D12ClearStorageFilter()

static INLINE void D3D12ClearStorageFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12ClearStoredMessages()

static INLINE void D3D12ClearStoredMessages ( D3D12InfoQueue  info_queue)
static

◆ D3D12CloseGraphicsCommandList()

static INLINE HRESULT D3D12CloseGraphicsCommandList ( D3D12GraphicsCommandList  graphics_command_list)
static
Here is the caller graph for this function:

◆ D3D12CopyBufferRegion()

static INLINE void D3D12CopyBufferRegion ( D3D12GraphicsCommandList  graphics_command_list,
D3D12Resource  dst_buffer,
UINT64  dst_offset,
D3D12Resource  src_buffer,
UINT64  src_offset,
UINT64  num_bytes 
)
static

◆ D3D12CopyDescriptors()

static INLINE void D3D12CopyDescriptors ( D3D12Device  device,
UINT  num_dest_descriptor_ranges,
D3D12_CPU_DESCRIPTOR_HANDLE dest_descriptor_range_starts,
UINT dest_descriptor_range_sizes,
UINT  num_src_descriptor_ranges,
D3D12_CPU_DESCRIPTOR_HANDLE src_descriptor_range_starts,
UINT src_descriptor_range_sizes,
D3D12_DESCRIPTOR_HEAP_TYPE  descriptor_heaps_type 
)
static

◆ D3D12CopyDescriptorsSimple()

static INLINE void D3D12CopyDescriptorsSimple ( D3D12Device  device,
UINT  num_descriptors,
D3D12_CPU_DESCRIPTOR_HANDLE  dest_descriptor_range_start,
D3D12_CPU_DESCRIPTOR_HANDLE  src_descriptor_range_start,
D3D12_DESCRIPTOR_HEAP_TYPE  descriptor_heaps_type 
)
static

◆ D3D12CopyResource()

static INLINE void D3D12CopyResource ( D3D12GraphicsCommandList  graphics_command_list,
void dst_resource,
void src_resource 
)
static

◆ D3D12CopyTextureRegion()

static INLINE void D3D12CopyTextureRegion ( D3D12GraphicsCommandList  graphics_command_list,
D3D12_TEXTURE_COPY_LOCATION dst,
UINT  dst_x,
UINT  dst_y,
UINT  dst_z,
D3D12_TEXTURE_COPY_LOCATION src,
D3D12_BOX src_box 
)
static
Here is the caller graph for this function:

◆ D3D12CopyTileMappings()

static INLINE void D3D12CopyTileMappings ( D3D12CommandQueue  command_queue,
void dst_resource,
D3D12_TILED_RESOURCE_COORDINATE dst_region_start_coordinate,
void src_resource,
D3D12_TILED_RESOURCE_COORDINATE src_region_start_coordinate,
D3D12_TILE_REGION_SIZE region_size,
D3D12_TILE_MAPPING_FLAGS  flags 
)
static

◆ D3D12CopyTiles()

static INLINE void D3D12CopyTiles ( D3D12GraphicsCommandList  graphics_command_list,
void tiled_resource,
D3D12_TILED_RESOURCE_COORDINATE tile_region_start_coordinate,
D3D12_TILE_REGION_SIZE tile_region_size,
void buffer,
UINT64  buffer_start_offset_in_bytes,
D3D12_TILE_COPY_FLAGS  flags 
)
static

◆ D3D12CreateCommandAllocator()

static INLINE HRESULT D3D12CreateCommandAllocator ( D3D12Device  device,
D3D12_COMMAND_LIST_TYPE  type,
ID3D12CommandAllocator **  out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateCommandList()

static INLINE HRESULT D3D12CreateCommandList ( D3D12Device  device,
UINT  node_mask,
D3D12_COMMAND_LIST_TYPE  type,
D3D12CommandAllocator  command_allocator,
D3D12PipelineState  initial_state,
ID3D12CommandList **  out 
)
static

◆ D3D12CreateCommandQueue()

static INLINE HRESULT D3D12CreateCommandQueue ( D3D12Device  device,
D3D12_COMMAND_QUEUE_DESC desc,
ID3D12CommandQueue **  out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateCommandSignature()

static INLINE HRESULT D3D12CreateCommandSignature ( D3D12Device  device,
D3D12_COMMAND_SIGNATURE_DESC desc,
D3D12RootSignature  root_signature,
ID3D12CommandSignature **  out 
)
static

◆ D3D12CreateCommittedResource()

static INLINE HRESULT D3D12CreateCommittedResource ( D3D12Device  device,
D3D12_HEAP_PROPERTIES heap_properties,
D3D12_HEAP_FLAGS  heap_flags,
D3D12_RESOURCE_DESC desc,
D3D12_RESOURCE_STATES  initial_resource_state,
D3D12_CLEAR_VALUE optimized_clear_value,
ID3D12Resource **  out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateComputePipelineState()

static INLINE HRESULT D3D12CreateComputePipelineState ( D3D12Device  device,
D3D12_COMPUTE_PIPELINE_STATE_DESC desc,
ID3D12PipelineState **  out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateConstantBufferView()

static INLINE void D3D12CreateConstantBufferView ( D3D12Device  device,
D3D12_CONSTANT_BUFFER_VIEW_DESC desc,
D3D12_CPU_DESCRIPTOR_HANDLE  dest_descriptor 
)
static

◆ D3D12CreateDepthStencilView()

static INLINE void D3D12CreateDepthStencilView ( D3D12Device  device,
void resource,
D3D12_DEPTH_STENCIL_VIEW_DESC desc,
D3D12_CPU_DESCRIPTOR_HANDLE  dest_descriptor 
)
static

◆ D3D12CreateDescriptorHeap()

static INLINE HRESULT D3D12CreateDescriptorHeap ( D3D12Device  device,
D3D12_DESCRIPTOR_HEAP_DESC descriptor_heap_desc,
D3D12DescriptorHeap out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateDevice_()

static INLINE HRESULT D3D12CreateDevice_ ( DXGIAdapter  adapter,
D3D_FEATURE_LEVEL  MinimumFeatureLevel,
D3D12Device out 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D12CreateFence()

static INLINE HRESULT D3D12CreateFence ( D3D12Device  device,
UINT64  initial_value,
D3D12_FENCE_FLAGS  flags,
ID3D12Fence **  out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateGraphicsCommandList()

static INLINE HRESULT D3D12CreateGraphicsCommandList ( D3D12Device  device,
UINT  node_mask,
D3D12_COMMAND_LIST_TYPE  type,
D3D12CommandAllocator  command_allocator,
D3D12PipelineState  initial_state,
D3D12GraphicsCommandList out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateGraphicsPipelineState()

static INLINE HRESULT D3D12CreateGraphicsPipelineState ( D3D12Device  device,
D3D12_GRAPHICS_PIPELINE_STATE_DESC desc,
ID3D12PipelineState **  out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateHeap()

static INLINE HRESULT D3D12CreateHeap ( D3D12Device  device,
D3D12_HEAP_DESC desc,
ID3D12Heap **  out 
)
static

◆ D3D12CreatePlacedResource()

static INLINE HRESULT D3D12CreatePlacedResource ( D3D12Device  device,
D3D12Heap  heap,
UINT64  heap_offset,
D3D12_RESOURCE_DESC desc,
D3D12_RESOURCE_STATES  initial_state,
D3D12_CLEAR_VALUE optimized_clear_value,
ID3D12Resource **  out 
)
static

◆ D3D12CreateQueryHeap()

static INLINE HRESULT D3D12CreateQueryHeap ( D3D12Device  device,
D3D12_QUERY_HEAP_DESC desc,
ID3D12Heap **  out 
)
static

◆ D3D12CreateRenderTargetView()

static INLINE void D3D12CreateRenderTargetView ( D3D12Device  device,
void resource,
D3D12_RENDER_TARGET_VIEW_DESC desc,
D3D12_CPU_DESCRIPTOR_HANDLE  dest_descriptor 
)
static
Here is the caller graph for this function:

◆ D3D12CreateReservedResource()

static INLINE HRESULT D3D12CreateReservedResource ( D3D12Device  device,
D3D12_RESOURCE_DESC desc,
D3D12_RESOURCE_STATES  initial_state,
D3D12_CLEAR_VALUE optimized_clear_value,
ID3D12Resource **  out 
)
static

◆ D3D12CreateRootSignature()

static INLINE HRESULT D3D12CreateRootSignature ( D3D12Device  device,
UINT  node_mask,
void blob_with_root_signature,
SIZE_T  blob_length_in_bytes,
ID3D12RootSignature **  out 
)
static
Here is the caller graph for this function:

◆ D3D12CreateSampler()

static INLINE void D3D12CreateSampler ( D3D12Device  device,
D3D12_SAMPLER_DESC desc,
D3D12_CPU_DESCRIPTOR_HANDLE  dest_descriptor 
)
static
Here is the caller graph for this function:

◆ D3D12CreateShaderResourceView()

static INLINE void D3D12CreateShaderResourceView ( D3D12Device  device,
D3D12Resource  resource,
D3D12_SHADER_RESOURCE_VIEW_DESC desc,
D3D12_CPU_DESCRIPTOR_HANDLE  dest_descriptor 
)
static
Here is the caller graph for this function:

◆ D3D12CreateUnorderedAccessView()

static INLINE void D3D12CreateUnorderedAccessView ( D3D12Device  device,
void resource,
void counter_resource,
D3D12_UNORDERED_ACCESS_VIEW_DESC desc,
D3D12_CPU_DESCRIPTOR_HANDLE  dest_descriptor 
)
static
Here is the caller graph for this function:

◆ D3D12DiscardResource()

static INLINE void D3D12DiscardResource ( D3D12GraphicsCommandList  graphics_command_list,
void resource,
D3D12_DISCARD_REGION region 
)
static

◆ D3D12Dispatch()

static INLINE void D3D12Dispatch ( D3D12GraphicsCommandList  graphics_command_list,
UINT  thread_group_count_x,
UINT  thread_group_count_y,
UINT  thread_group_count_z 
)
static
Here is the caller graph for this function:

◆ D3D12DrawIndexedInstanced()

static INLINE void D3D12DrawIndexedInstanced ( D3D12GraphicsCommandList  graphics_command_list,
UINT  index_count_per_instance,
UINT  instance_count,
UINT  start_index_location,
INT  base_vertex_location,
UINT  start_instance_location 
)
static

◆ D3D12DrawInstanced()

static INLINE void D3D12DrawInstanced ( D3D12GraphicsCommandList  graphics_command_list,
UINT  vertex_count_per_instance,
UINT  instance_count,
UINT  start_vertex_location,
UINT  start_instance_location 
)
static
Here is the caller graph for this function:

◆ D3D12EnableDebugLayer()

static INLINE void D3D12EnableDebugLayer ( D3D12Debug  debug)
static
Here is the caller graph for this function:

◆ D3D12EndCommandQueueEvent()

static INLINE void D3D12EndCommandQueueEvent ( D3D12CommandQueue  command_queue)
static

◆ D3D12EndGraphicsCommandListEvent()

static INLINE void D3D12EndGraphicsCommandListEvent ( D3D12GraphicsCommandList  graphics_command_list)
static

◆ D3D12EndQuery()

static INLINE void D3D12EndQuery ( D3D12GraphicsCommandList  graphics_command_list,
D3D12QueryHeap  query_heap,
D3D12_QUERY_TYPE  type,
UINT  index 
)
static

◆ D3D12ExecuteBundle()

static INLINE void D3D12ExecuteBundle ( D3D12GraphicsCommandList  graphics_command_list,
D3D12GraphicsCommandList  command_list 
)
static

◆ D3D12ExecuteCommandLists()

static INLINE void D3D12ExecuteCommandLists ( D3D12CommandQueue  command_queue,
UINT  num_command_lists,
const D3D12CommandList command_lists 
)
static

◆ D3D12ExecuteGraphicsCommandLists()

static INLINE void D3D12ExecuteGraphicsCommandLists ( D3D12CommandQueue  command_queue,
UINT  num_command_lists,
const D3D12GraphicsCommandList command_lists 
)
static

◆ D3D12ExecuteIndirect()

static INLINE void D3D12ExecuteIndirect ( D3D12GraphicsCommandList  graphics_command_list,
D3D12CommandSignature  command_signature,
UINT  max_command_count,
void argument_buffer,
UINT64  argument_buffer_offset,
void count_buffer,
UINT64  count_buffer_offset 
)
static

◆ D3D12GetAdapterLuid()

static INLINE LUID D3D12GetAdapterLuid ( D3D12Device  device)
static

◆ D3D12GetBreakOnCategory()

static INLINE BOOL D3D12GetBreakOnCategory ( D3D12InfoQueue  info_queue,
D3D12_MESSAGE_CATEGORY  category 
)
static

◆ D3D12GetBreakOnID()

static INLINE BOOL D3D12GetBreakOnID ( D3D12InfoQueue  info_queue,
D3D12_MESSAGE_ID  i_d 
)
static

◆ D3D12GetBreakOnSeverity()

static INLINE BOOL D3D12GetBreakOnSeverity ( D3D12InfoQueue  info_queue,
D3D12_MESSAGE_SEVERITY  severity 
)
static

◆ D3D12GetCachedBlob()

static INLINE HRESULT D3D12GetCachedBlob ( D3D12PipelineState  pipeline_state,
ID3DBlob **  blob 
)
static

◆ D3D12GetClockCalibration()

static INLINE HRESULT D3D12GetClockCalibration ( D3D12CommandQueue  command_queue,
UINT64 gpu_timestamp,
UINT64 cpu_timestamp 
)
static

◆ D3D12GetCompletedValue()

static INLINE UINT64 D3D12GetCompletedValue ( D3D12Fence  fence)
static
Here is the caller graph for this function:

◆ D3D12GetCopyableFootprints()

static INLINE void D3D12GetCopyableFootprints ( D3D12Device  device,
D3D12_RESOURCE_DESC resource_desc,
UINT  first_subresource,
UINT  num_subresources,
UINT64  base_offset,
D3D12_PLACED_SUBRESOURCE_FOOTPRINT layouts,
UINT num_rows,
UINT64 row_size_in_bytes,
UINT64 total_bytes 
)
static
Here is the caller graph for this function:

◆ D3D12GetCPUDescriptorHandleForHeapStart()

static INLINE D3D12_CPU_DESCRIPTOR_HANDLE D3D12GetCPUDescriptorHandleForHeapStart ( D3D12DescriptorHeap  descriptor_heap)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D12GetCustomHeapProperties()

static INLINE D3D12_HEAP_PROPERTIES D3D12GetCustomHeapProperties ( D3D12Device  device,
UINT  node_mask,
D3D12_HEAP_TYPE  heap_type 
)
static

◆ D3D12GetDebugCommandListFeatureMask()

static INLINE D3D12_DEBUG_FEATURE D3D12GetDebugCommandListFeatureMask ( D3D12DebugCommandList  debug_command_list)
static

◆ D3D12GetDebugDeviceFeatureMask()

static INLINE D3D12_DEBUG_FEATURE D3D12GetDebugDeviceFeatureMask ( D3D12DebugDevice  debug_device)
static

◆ D3D12GetDebugInterface_()

static INLINE HRESULT D3D12GetDebugInterface_ ( D3D12Debug out)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D12GetDescriptorHandleIncrementSize()

static INLINE UINT D3D12GetDescriptorHandleIncrementSize ( D3D12Device  device,
D3D12_DESCRIPTOR_HEAP_TYPE  descriptor_heap_type 
)
static
Here is the caller graph for this function:

◆ D3D12GetDeviceRemovedReason()

static INLINE HRESULT D3D12GetDeviceRemovedReason ( D3D12Device  device)
static

◆ D3D12GetGPUDescriptorHandleForHeapStart()

static INLINE D3D12_GPU_DESCRIPTOR_HANDLE D3D12GetGPUDescriptorHandleForHeapStart ( D3D12DescriptorHeap  descriptor_heap)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3D12GetGPUVirtualAddress()

static INLINE D3D12_GPU_VIRTUAL_ADDRESS D3D12GetGPUVirtualAddress ( void resource)
static
Here is the caller graph for this function:

◆ D3D12GetHeapProperties()

static INLINE HRESULT D3D12GetHeapProperties ( void resource,
D3D12_HEAP_PROPERTIES heap_properties,
D3D12_HEAP_FLAGS heap_flags 
)
static

◆ D3D12GetMessageA()

static INLINE HRESULT D3D12GetMessageA ( D3D12InfoQueue  info_queue,
UINT64  message_index,
D3D12_MESSAGE message,
SIZE_T *  message_byte_length 
)
static

◆ D3D12GetMessageCountLimit()

static INLINE UINT64 D3D12GetMessageCountLimit ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetMuteDebugOutput()

static INLINE BOOL D3D12GetMuteDebugOutput ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetNodeCount()

static INLINE UINT D3D12GetNodeCount ( D3D12Device  device)
static

◆ D3D12GetNumMessagesAllowedByStorageFilter()

static INLINE UINT64 D3D12GetNumMessagesAllowedByStorageFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetNumMessagesDeniedByStorageFilter()

static INLINE UINT64 D3D12GetNumMessagesDeniedByStorageFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetNumMessagesDiscardedByMessageCountLimit()

static INLINE UINT64 D3D12GetNumMessagesDiscardedByMessageCountLimit ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetNumStoredMessages()

static INLINE UINT64 D3D12GetNumStoredMessages ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetNumStoredMessagesAllowedByRetrievalFilter()

static INLINE UINT64 D3D12GetNumStoredMessagesAllowedByRetrievalFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetResourceAllocationInfo()

static INLINE D3D12_RESOURCE_ALLOCATION_INFO D3D12GetResourceAllocationInfo ( D3D12Device  device,
UINT  visible_mask,
UINT  num_resource_descs,
D3D12_RESOURCE_DESC resource_descs 
)
static

◆ D3D12GetResourceTiling()

static INLINE void D3D12GetResourceTiling ( D3D12Device  device,
void tiled_resource,
UINT num_tiles_for_entire_resource,
D3D12_PACKED_MIP_INFO packed_mip_desc,
D3D12_TILE_SHAPE standard_tile_shape_for_non_packed_mips,
UINT num_subresource_tilings,
UINT  first_subresource_tiling_to_get,
D3D12_SUBRESOURCE_TILING subresource_tilings_for_non_packed_mips 
)
static

◆ D3D12GetRetrievalFilter()

static INLINE HRESULT D3D12GetRetrievalFilter ( D3D12InfoQueue  info_queue,
D3D12_INFO_QUEUE_FILTER filter,
SIZE_T *  filter_byte_length 
)
static

◆ D3D12GetRetrievalFilterStackSize()

static INLINE UINT D3D12GetRetrievalFilterStackSize ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetRootSignatureDesc()

static INLINE const D3D12_ROOT_SIGNATURE_DESC* D3D12GetRootSignatureDesc ( D3D12RootSignatureDeserializer  root_signature_deserializer)
static

◆ D3D12GetRootSignatureDescAtVersion()

static INLINE HRESULT D3D12GetRootSignatureDescAtVersion ( D3D12VersionedRootSignatureDeserializer  versioned_root_signature_deserializer,
D3D_ROOT_SIGNATURE_VERSION  convert_to_version,
const D3D12_VERSIONED_ROOT_SIGNATURE_DESC **  desc 
)
static

◆ D3D12GetSerializedSize()

static INLINE SIZE_T D3D12GetSerializedSize ( D3D12PipelineLibrary  pipeline_library)
static

◆ D3D12GetStorageFilter()

static INLINE HRESULT D3D12GetStorageFilter ( D3D12InfoQueue  info_queue,
D3D12_INFO_QUEUE_FILTER filter,
SIZE_T *  filter_byte_length 
)
static

◆ D3D12GetStorageFilterStackSize()

static INLINE UINT D3D12GetStorageFilterStackSize ( D3D12InfoQueue  info_queue)
static

◆ D3D12GetTimestampFrequency()

static INLINE HRESULT D3D12GetTimestampFrequency ( D3D12CommandQueue  command_queue,
UINT64 frequency 
)
static

◆ D3D12GetUnconvertedRootSignatureDesc()

static INLINE const D3D12_VERSIONED_ROOT_SIGNATURE_DESC* D3D12GetUnconvertedRootSignatureDesc ( D3D12VersionedRootSignatureDeserializer  versioned_root_signature_deserializer)
static

◆ D3D12IASetIndexBuffer()

static INLINE void D3D12IASetIndexBuffer ( D3D12GraphicsCommandList  graphics_command_list,
D3D12_INDEX_BUFFER_VIEW view 
)
static

◆ D3D12IASetPrimitiveTopology()

static INLINE void D3D12IASetPrimitiveTopology ( D3D12GraphicsCommandList  graphics_command_list,
D3D12_PRIMITIVE_TOPOLOGY  primitive_topology 
)
static
Here is the caller graph for this function:

◆ D3D12IASetVertexBuffers()

static INLINE void D3D12IASetVertexBuffers ( D3D12GraphicsCommandList  graphics_command_list,
UINT  start_slot,
UINT  num_views,
D3D12_VERTEX_BUFFER_VIEW views 
)
static
Here is the caller graph for this function:

◆ D3D12LoadComputePipeline()

static INLINE HRESULT D3D12LoadComputePipeline ( D3D12PipelineLibrary  pipeline_library,
LPCWSTR  name,
D3D12_COMPUTE_PIPELINE_STATE_DESC desc,
ID3D12PipelineState **  out 
)
static

◆ D3D12LoadGraphicsPipeline()

static INLINE HRESULT D3D12LoadGraphicsPipeline ( D3D12PipelineLibrary  pipeline_library,
LPCWSTR  name,
D3D12_GRAPHICS_PIPELINE_STATE_DESC desc,
ID3D12PipelineState **  out 
)
static

◆ D3D12Map()

static INLINE HRESULT D3D12Map ( void resource,
UINT  subresource,
D3D12_RANGE read_range,
void **  data 
)
static
Here is the caller graph for this function:

◆ D3D12OMSetRenderTargets()

static INLINE void D3D12OMSetRenderTargets ( D3D12GraphicsCommandList  graphics_command_list,
UINT  num_render_target_descriptors,
D3D12_CPU_DESCRIPTOR_HANDLE render_target_descriptors,
BOOL  r_ts_single_handle_to_descriptor_range,
D3D12_CPU_DESCRIPTOR_HANDLE depth_stencil_descriptor 
)
static
Here is the caller graph for this function:

◆ D3D12OMSetStencilRef()

static INLINE void D3D12OMSetStencilRef ( D3D12GraphicsCommandList  graphics_command_list,
UINT  stencil_ref 
)
static

◆ D3D12PopRetrievalFilter()

static INLINE void D3D12PopRetrievalFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12PopStorageFilter()

static INLINE void D3D12PopStorageFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12PushCopyOfRetrievalFilter()

static INLINE HRESULT D3D12PushCopyOfRetrievalFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12PushCopyOfStorageFilter()

static INLINE HRESULT D3D12PushCopyOfStorageFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12PushEmptyRetrievalFilter()

static INLINE HRESULT D3D12PushEmptyRetrievalFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12PushEmptyStorageFilter()

static INLINE HRESULT D3D12PushEmptyStorageFilter ( D3D12InfoQueue  info_queue)
static

◆ D3D12PushRetrievalFilter()

static INLINE HRESULT D3D12PushRetrievalFilter ( D3D12InfoQueue  info_queue,
D3D12_INFO_QUEUE_FILTER filter 
)
static

◆ D3D12PushStorageFilter()

static INLINE HRESULT D3D12PushStorageFilter ( D3D12InfoQueue  info_queue,
D3D12_INFO_QUEUE_FILTER filter 
)
static

◆ D3D12ReadFromSubresource()

static INLINE HRESULT D3D12ReadFromSubresource ( void resource,
void dst_data,
UINT  dst_row_pitch,
UINT  dst_depth_pitch,
UINT  src_subresource,
D3D12_BOX src_box 
)
static

◆ D3D12Release()

static INLINE ULONG D3D12Release ( void object)
static

◆ D3D12ReleaseCommandAllocator()

static INLINE ULONG D3D12ReleaseCommandAllocator ( D3D12CommandAllocator  command_allocator)
static

◆ D3D12ReleaseCommandList()

static INLINE ULONG D3D12ReleaseCommandList ( D3D12CommandList  command_list)
static

◆ D3D12ReleaseCommandQueue()

static INLINE ULONG D3D12ReleaseCommandQueue ( D3D12CommandQueue  command_queue)
static

◆ D3D12ReleaseCommandSignature()

static INLINE ULONG D3D12ReleaseCommandSignature ( D3D12CommandSignature  command_signature)
static

◆ D3D12ReleaseDebug()

static INLINE ULONG D3D12ReleaseDebug ( D3D12Debug  debug)
static

◆ D3D12ReleaseDebugCommandList()

static INLINE ULONG D3D12ReleaseDebugCommandList ( D3D12DebugCommandList  debug_command_list)
static

◆ D3D12ReleaseDebugCommandQueue()

static INLINE ULONG D3D12ReleaseDebugCommandQueue ( D3D12DebugCommandQueue  debug_command_queue)
static

◆ D3D12ReleaseDebugDevice()

static INLINE ULONG D3D12ReleaseDebugDevice ( D3D12DebugDevice  debug_device)
static

◆ D3D12ReleaseDescriptorHeap()

static INLINE ULONG D3D12ReleaseDescriptorHeap ( D3D12DescriptorHeap  descriptor_heap)
static

◆ D3D12ReleaseDevice()

static INLINE ULONG D3D12ReleaseDevice ( D3D12Device  device)
static

◆ D3D12ReleaseDeviceChild()

static INLINE ULONG D3D12ReleaseDeviceChild ( D3D12DeviceChild  device_child)
static

◆ D3D12ReleaseFence()

static INLINE ULONG D3D12ReleaseFence ( D3D12Fence  fence)
static

◆ D3D12ReleaseGraphicsCommandList()

static INLINE ULONG D3D12ReleaseGraphicsCommandList ( D3D12GraphicsCommandList  graphics_command_list)
static

◆ D3D12ReleaseHeap()

static INLINE ULONG D3D12ReleaseHeap ( D3D12Heap  heap)
static

◆ D3D12ReleaseInfoQueue()

static INLINE ULONG D3D12ReleaseInfoQueue ( D3D12InfoQueue  info_queue)
static

◆ D3D12ReleasePageable()

static INLINE ULONG D3D12ReleasePageable ( D3D12Pageable  pageable)
static

◆ D3D12ReleasePipelineLibrary()

static INLINE ULONG D3D12ReleasePipelineLibrary ( D3D12PipelineLibrary  pipeline_library)
static

◆ D3D12ReleasePipelineState()

static INLINE ULONG D3D12ReleasePipelineState ( D3D12PipelineState  pipeline_state)
static

◆ D3D12ReleaseQueryHeap()

static INLINE ULONG D3D12ReleaseQueryHeap ( D3D12QueryHeap  query_heap)
static

◆ D3D12ReleaseResource()

static INLINE ULONG D3D12ReleaseResource ( void resource)
static

◆ D3D12ReleaseRootSignature()

static INLINE ULONG D3D12ReleaseRootSignature ( D3D12RootSignature  root_signature)
static

◆ D3D12ReleaseRootSignatureDeserializer()

static INLINE ULONG D3D12ReleaseRootSignatureDeserializer ( D3D12RootSignatureDeserializer  root_signature_deserializer)
static

◆ D3D12ReleaseVersionedRootSignatureDeserializer()

static INLINE ULONG D3D12ReleaseVersionedRootSignatureDeserializer ( D3D12VersionedRootSignatureDeserializer  versioned_root_signature_deserializer)
static

◆ D3D12ReportLiveDeviceObjects()

static INLINE HRESULT D3D12ReportLiveDeviceObjects ( D3D12DebugDevice  debug_device,
D3D12_RLDO_FLAGS  flags 
)
static

◆ D3D12ResetCommandAllocator()

static INLINE HRESULT D3D12ResetCommandAllocator ( D3D12CommandAllocator  command_allocator)
static
Here is the caller graph for this function:

◆ D3D12ResetGraphicsCommandList()

static INLINE HRESULT D3D12ResetGraphicsCommandList ( D3D12GraphicsCommandList  graphics_command_list,
D3D12CommandAllocator  allocator,
D3D12PipelineState  initial_state 
)
static
Here is the caller graph for this function:

◆ D3D12ResolveQueryData()

static INLINE void D3D12ResolveQueryData ( D3D12GraphicsCommandList  graphics_command_list,
D3D12QueryHeap  query_heap,
D3D12_QUERY_TYPE  type,
UINT  start_index,
UINT  num_queries,
void destination_buffer,
UINT64  aligned_destination_buffer_offset 
)
static

◆ D3D12ResolveSubresource()

static INLINE void D3D12ResolveSubresource ( D3D12GraphicsCommandList  graphics_command_list,
void dst_resource,
UINT  dst_subresource,
void src_resource,
UINT  src_subresource,
DXGI_FORMAT  format 
)
static

◆ D3D12ResourceBarrier()

static INLINE void D3D12ResourceBarrier ( D3D12GraphicsCommandList  graphics_command_list,
UINT  num_barriers,
D3D12_RESOURCE_BARRIER barriers 
)
static
Here is the caller graph for this function:

◆ D3D12RSSetScissorRects()

static INLINE void D3D12RSSetScissorRects ( D3D12GraphicsCommandList  graphics_command_list,
UINT  num_rects,
D3D12_RECT rects 
)
static
Here is the caller graph for this function:

◆ D3D12RSSetViewports()

static INLINE void D3D12RSSetViewports ( D3D12GraphicsCommandList  graphics_command_list,
UINT  num_viewports,
D3D12_VIEWPORT viewports 
)
static
Here is the caller graph for this function:

◆ D3D12Serialize()

static INLINE HRESULT D3D12Serialize ( D3D12PipelineLibrary  pipeline_library,
void data,
SIZE_T  data_size_in_bytes 
)
static

◆ D3D12SetBreakOnCategory()

static INLINE HRESULT D3D12SetBreakOnCategory ( D3D12InfoQueue  info_queue,
D3D12_MESSAGE_CATEGORY  category,
BOOL  b_enable 
)
static

◆ D3D12SetBreakOnID()

static INLINE HRESULT D3D12SetBreakOnID ( D3D12InfoQueue  info_queue,
D3D12_MESSAGE_ID  i_d,
BOOL  b_enable 
)
static

◆ D3D12SetBreakOnSeverity()

static INLINE HRESULT D3D12SetBreakOnSeverity ( D3D12InfoQueue  info_queue,
D3D12_MESSAGE_SEVERITY  severity,
BOOL  b_enable 
)
static

◆ D3D12SetCommandQueueMarker()

static INLINE void D3D12SetCommandQueueMarker ( D3D12CommandQueue  command_queue,
UINT  metadata,
void data,
UINT  size 
)
static

◆ D3D12SetComputeRoot32BitConstant()

static INLINE void D3D12SetComputeRoot32BitConstant ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
UINT  src_data,
UINT  dest_offset_in32_bit_values 
)
static

◆ D3D12SetComputeRoot32BitConstants()

static INLINE void D3D12SetComputeRoot32BitConstants ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
UINT  num32_bit_values_to_set,
void src_data,
UINT  dest_offset_in32_bit_values 
)
static
Here is the caller graph for this function:

◆ D3D12SetComputeRootConstantBufferView()

static INLINE void D3D12SetComputeRootConstantBufferView ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
D3D12_GPU_VIRTUAL_ADDRESS  buffer_location 
)
static

◆ D3D12SetComputeRootDescriptorTable()

static INLINE void D3D12SetComputeRootDescriptorTable ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
D3D12_GPU_DESCRIPTOR_HANDLE  base_descriptor 
)
static
Here is the caller graph for this function:

◆ D3D12SetComputeRootShaderResourceView()

static INLINE void D3D12SetComputeRootShaderResourceView ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
D3D12_GPU_VIRTUAL_ADDRESS  buffer_location 
)
static

◆ D3D12SetComputeRootSignature()

static INLINE void D3D12SetComputeRootSignature ( D3D12GraphicsCommandList  graphics_command_list,
D3D12RootSignature  root_signature 
)
static
Here is the caller graph for this function:

◆ D3D12SetComputeRootUnorderedAccessView()

static INLINE void D3D12SetComputeRootUnorderedAccessView ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
D3D12_GPU_VIRTUAL_ADDRESS  buffer_location 
)
static

◆ D3D12SetDebugCommandListFeatureMask()

static INLINE HRESULT D3D12SetDebugCommandListFeatureMask ( D3D12DebugCommandList  debug_command_list,
D3D12_DEBUG_FEATURE  mask 
)
static

◆ D3D12SetDebugDeviceFeatureMask()

static INLINE HRESULT D3D12SetDebugDeviceFeatureMask ( D3D12DebugDevice  debug_device,
D3D12_DEBUG_FEATURE  mask 
)
static

◆ D3D12SetDescriptorHeaps()

static INLINE void D3D12SetDescriptorHeaps ( D3D12GraphicsCommandList  command_list,
UINT  num_descriptor_heaps,
const D3D12DescriptorHeap descriptor_heaps 
)
static
Here is the caller graph for this function:

◆ D3D12SetEventOnCompletion()

static INLINE HRESULT D3D12SetEventOnCompletion ( D3D12Fence  fence,
UINT64  value,
HANDLE  h_event 
)
static
Here is the caller graph for this function:

◆ D3D12SetGraphicsCommandListMarker()

static INLINE void D3D12SetGraphicsCommandListMarker ( D3D12GraphicsCommandList  graphics_command_list,
UINT  metadata,
void data,
UINT  size 
)
static

◆ D3D12SetGraphicsRoot32BitConstant()

static INLINE void D3D12SetGraphicsRoot32BitConstant ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
UINT  src_data,
UINT  dest_offset_in32_bit_values 
)
static

◆ D3D12SetGraphicsRoot32BitConstants()

static INLINE void D3D12SetGraphicsRoot32BitConstants ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
UINT  num32_bit_values_to_set,
void src_data,
UINT  dest_offset_in32_bit_values 
)
static

◆ D3D12SetGraphicsRootConstantBufferView()

static INLINE void D3D12SetGraphicsRootConstantBufferView ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
D3D12_GPU_VIRTUAL_ADDRESS  buffer_location 
)
static
Here is the caller graph for this function:

◆ D3D12SetGraphicsRootDescriptorTable()

static INLINE void D3D12SetGraphicsRootDescriptorTable ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
D3D12_GPU_DESCRIPTOR_HANDLE  base_descriptor 
)
static
Here is the caller graph for this function:

◆ D3D12SetGraphicsRootShaderResourceView()

static INLINE void D3D12SetGraphicsRootShaderResourceView ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
D3D12_GPU_VIRTUAL_ADDRESS  buffer_location 
)
static

◆ D3D12SetGraphicsRootSignature()

static INLINE void D3D12SetGraphicsRootSignature ( D3D12GraphicsCommandList  graphics_command_list,
D3D12RootSignature  root_signature 
)
static
Here is the caller graph for this function:

◆ D3D12SetGraphicsRootUnorderedAccessView()

static INLINE void D3D12SetGraphicsRootUnorderedAccessView ( D3D12GraphicsCommandList  graphics_command_list,
UINT  root_parameter_index,
D3D12_GPU_VIRTUAL_ADDRESS  buffer_location 
)
static

◆ D3D12SetMessageCountLimit()

static INLINE HRESULT D3D12SetMessageCountLimit ( D3D12InfoQueue  info_queue,
UINT64  message_count_limit 
)
static

◆ D3D12SetMuteDebugOutput()

static INLINE void D3D12SetMuteDebugOutput ( D3D12InfoQueue  info_queue,
BOOL  b_mute 
)
static

◆ D3D12SetPipelineState()

static INLINE void D3D12SetPipelineState ( D3D12GraphicsCommandList  graphics_command_list,
D3D12PipelineStateRef  pipeline_state 
)
static
Here is the caller graph for this function:

◆ D3D12SetPredication()

static INLINE void D3D12SetPredication ( D3D12GraphicsCommandList  graphics_command_list,
void buffer,
UINT64  aligned_buffer_offset,
D3D12_PREDICATION_OP  operation 
)
static

◆ D3D12SetStablePowerState()

static INLINE HRESULT D3D12SetStablePowerState ( D3D12Device  device,
BOOL  enable 
)
static

◆ D3D12SignalCommandQueue()

static INLINE HRESULT D3D12SignalCommandQueue ( D3D12CommandQueue  command_queue,
D3D12Fence  fence,
UINT64  value 
)
static
Here is the caller graph for this function:

◆ D3D12SignalFence()

static INLINE HRESULT D3D12SignalFence ( D3D12Fence  fence,
UINT64  value 
)
static

◆ D3D12SOSetTargets()

static INLINE void D3D12SOSetTargets ( D3D12GraphicsCommandList  graphics_command_list,
UINT  start_slot,
UINT  num_views,
D3D12_STREAM_OUTPUT_BUFFER_VIEW views 
)
static

◆ D3D12StorePipeline()

static INLINE HRESULT D3D12StorePipeline ( D3D12PipelineLibrary  pipeline_library,
LPCWSTR  name,
D3D12PipelineState  pipeline 
)
static

◆ D3D12Unmap()

static INLINE void D3D12Unmap ( void resource,
UINT  subresource,
D3D12_RANGE written_range 
)
static
Here is the caller graph for this function:

◆ D3D12UpdateTileMappings()

static INLINE void D3D12UpdateTileMappings ( D3D12CommandQueue  command_queue,
void resource,
UINT  num_resource_regions,
D3D12_TILED_RESOURCE_COORDINATE resource_region_start_coordinates,
D3D12_TILE_REGION_SIZE resource_region_sizes,
D3D12Heap  heap,
UINT  num_ranges,
D3D12_TILE_RANGE_FLAGS range_flags,
UINT heap_range_start_offsets,
UINT range_tile_counts,
D3D12_TILE_MAPPING_FLAGS  flags 
)
static

◆ D3D12Wait()

static INLINE HRESULT D3D12Wait ( D3D12CommandQueue  command_queue,
D3D12Fence  fence,
UINT64  value 
)
static

◆ D3D12WriteToSubresource()

static INLINE HRESULT D3D12WriteToSubresource ( void resource,
UINT  dst_subresource,
D3D12_BOX dst_box,
void src_data,
UINT  src_row_pitch,
UINT  src_depth_pitch 
)
static

◆ DXGIGetSwapChainBuffer()

static INLINE HRESULT DXGIGetSwapChainBuffer ( DXGISwapChain  swapchain,
UINT  buffer,
D3D12Resource surface 
)
static
Here is the caller graph for this function:

Variable Documentation

◆ d3d12_blend_enable_desc

◆ d3d12_uniform_t

d3d12_uniform_t