Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 1 | /* |
| 2 | * XGL |
| 3 | * |
| 4 | * Copyright (C) 2014 LunarG, Inc. |
| 5 | * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 7 | * copy of this software and associated documentation files (the "Software"), |
| 8 | * to deal in the Software without restriction, including without limitation |
| 9 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 10 | * and/or sell copies of the Software, and to permit persons to whom the |
| 11 | * Software is furnished to do so, subject to the following conditions: |
| 12 | * |
| 13 | * The above copyright notice and this permission notice shall be included |
| 14 | * in all copies or substantial portions of the Software. |
| 15 | * |
| 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 19 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 21 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 22 | * DEALINGS IN THE SOFTWARE. |
| 23 | */ |
| 24 | |
| 25 | #include "icd.h" |
Chia-I Wu | 0914213 | 2014-08-11 15:42:55 +0800 | [diff] [blame^] | 26 | #include "cmd.h" |
Chia-I Wu | a207aba | 2014-08-05 15:13:37 +0800 | [diff] [blame] | 27 | #include "dev.h" |
Chia-I Wu | 75577d9 | 2014-08-11 10:54:33 +0800 | [diff] [blame] | 28 | #include "dset.h" |
Chia-I Wu | 9737a10 | 2014-08-07 07:59:51 +0800 | [diff] [blame] | 29 | #include "event.h" |
Chia-I Wu | bdf4c56 | 2014-08-07 06:36:33 +0800 | [diff] [blame] | 30 | #include "fence.h" |
Chia-I Wu | ac6ba13 | 2014-08-07 14:21:43 +0800 | [diff] [blame] | 31 | #include "format.h" |
Chia-I Wu | feb441f | 2014-08-08 21:27:38 +0800 | [diff] [blame] | 32 | #include "img.h" |
Chia-I Wu | bec90a0 | 2014-08-06 12:33:03 +0800 | [diff] [blame] | 33 | #include "gpu.h" |
Chia-I Wu | f9911eb | 2014-08-06 13:50:31 +0800 | [diff] [blame] | 34 | #include "mem.h" |
Chia-I Wu | 53fc6aa | 2014-08-06 14:22:51 +0800 | [diff] [blame] | 35 | #include "obj.h" |
Chia-I Wu | f667a6a | 2014-08-07 14:15:01 +0800 | [diff] [blame] | 36 | #include "query.h" |
Chia-I Wu | e09b536 | 2014-08-07 09:25:14 +0800 | [diff] [blame] | 37 | #include "queue.h" |
Chia-I Wu | 28b8996 | 2014-08-18 14:40:49 +0800 | [diff] [blame] | 38 | #include "sampler.h" |
Chia-I Wu | a5714e8 | 2014-08-11 15:33:42 +0800 | [diff] [blame] | 39 | #include "state.h" |
Chia-I Wu | 5a32326 | 2014-08-11 10:31:53 +0800 | [diff] [blame] | 40 | #include "view.h" |
Chia-I Wu | bec90a0 | 2014-08-06 12:33:03 +0800 | [diff] [blame] | 41 | #include "dispatch_tables.h" |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 42 | |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 43 | static XGL_RESULT XGLAPI intelQueueSubmit( |
| 44 | XGL_QUEUE queue, |
| 45 | XGL_UINT cmdBufferCount, |
| 46 | const XGL_CMD_BUFFER* pCmdBuffers, |
| 47 | XGL_UINT memRefCount, |
| 48 | const XGL_MEMORY_REF* pMemRefs, |
| 49 | XGL_FENCE fence) |
| 50 | { |
Chia-I Wu | 48bb6c5 | 2014-08-07 12:44:08 +0800 | [diff] [blame] | 51 | /* need XGL_CMD_BUFFER first */ |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 52 | return XGL_ERROR_UNAVAILABLE; |
| 53 | } |
| 54 | |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 55 | static XGL_RESULT XGLAPI intelPinSystemMemory( |
| 56 | XGL_DEVICE device, |
| 57 | const XGL_VOID* pSysMem, |
| 58 | XGL_SIZE memSize, |
| 59 | XGL_GPU_MEMORY* pMem) |
| 60 | { |
Chia-I Wu | 48bb6c5 | 2014-08-07 12:44:08 +0800 | [diff] [blame] | 61 | /* add DRM_I915_GEM_USERPTR to wisys first */ |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 62 | return XGL_ERROR_UNAVAILABLE; |
| 63 | } |
| 64 | |
| 65 | static XGL_RESULT XGLAPI intelRemapVirtualMemoryPages( |
| 66 | XGL_DEVICE device, |
| 67 | XGL_UINT rangeCount, |
| 68 | const XGL_VIRTUAL_MEMORY_REMAP_RANGE* pRanges, |
| 69 | XGL_UINT preWaitSemaphoreCount, |
| 70 | const XGL_QUEUE_SEMAPHORE* pPreWaitSemaphores, |
| 71 | XGL_UINT postSignalSemaphoreCount, |
| 72 | const XGL_QUEUE_SEMAPHORE* pPostSignalSemaphores) |
| 73 | { |
Chia-I Wu | 48bb6c5 | 2014-08-07 12:44:08 +0800 | [diff] [blame] | 74 | /* no kernel support */ |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 75 | return XGL_ERROR_UNAVAILABLE; |
| 76 | } |
| 77 | |
| 78 | static XGL_RESULT XGLAPI intelGetMultiGpuCompatibility( |
| 79 | XGL_PHYSICAL_GPU gpu0, |
| 80 | XGL_PHYSICAL_GPU gpu1, |
| 81 | XGL_GPU_COMPATIBILITY_INFO* pInfo) |
| 82 | { |
| 83 | return XGL_ERROR_UNAVAILABLE; |
| 84 | } |
| 85 | |
| 86 | static XGL_RESULT XGLAPI intelOpenSharedMemory( |
| 87 | XGL_DEVICE device, |
| 88 | const XGL_MEMORY_OPEN_INFO* pOpenInfo, |
| 89 | XGL_GPU_MEMORY* pMem) |
| 90 | { |
| 91 | return XGL_ERROR_UNAVAILABLE; |
| 92 | } |
| 93 | |
| 94 | static XGL_RESULT XGLAPI intelOpenSharedQueueSemaphore( |
| 95 | XGL_DEVICE device, |
| 96 | const XGL_QUEUE_SEMAPHORE_OPEN_INFO* pOpenInfo, |
| 97 | XGL_QUEUE_SEMAPHORE* pSemaphore) |
| 98 | { |
| 99 | return XGL_ERROR_UNAVAILABLE; |
| 100 | } |
| 101 | |
| 102 | static XGL_RESULT XGLAPI intelOpenPeerMemory( |
| 103 | XGL_DEVICE device, |
| 104 | const XGL_PEER_MEMORY_OPEN_INFO* pOpenInfo, |
| 105 | XGL_GPU_MEMORY* pMem) |
| 106 | { |
| 107 | return XGL_ERROR_UNAVAILABLE; |
| 108 | } |
| 109 | |
| 110 | static XGL_RESULT XGLAPI intelOpenPeerImage( |
| 111 | XGL_DEVICE device, |
| 112 | const XGL_PEER_IMAGE_OPEN_INFO* pOpenInfo, |
| 113 | XGL_IMAGE* pImage, |
| 114 | XGL_GPU_MEMORY* pMem) |
| 115 | { |
| 116 | return XGL_ERROR_UNAVAILABLE; |
| 117 | } |
| 118 | |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 119 | static XGL_RESULT XGLAPI intelCreateQueueSemaphore( |
| 120 | XGL_DEVICE device, |
| 121 | const XGL_QUEUE_SEMAPHORE_CREATE_INFO* pCreateInfo, |
| 122 | XGL_QUEUE_SEMAPHORE* pSemaphore) |
| 123 | { |
Chia-I Wu | 6af76d3 | 2014-08-07 07:41:16 +0800 | [diff] [blame] | 124 | /* |
| 125 | * We want to find an unused semaphore register and initialize it. Signal |
| 126 | * will increment the register. Wait will atomically decrement it and |
| 127 | * block if the value is zero, or a large constant N if we do not want to |
| 128 | * go negative. |
| 129 | * |
| 130 | * XXX However, MI_SEMAPHORE_MBOX does not seem to have the flexibility. |
| 131 | */ |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 132 | return XGL_ERROR_UNAVAILABLE; |
| 133 | } |
| 134 | |
| 135 | static XGL_RESULT XGLAPI intelSignalQueueSemaphore( |
| 136 | XGL_QUEUE queue, |
| 137 | XGL_QUEUE_SEMAPHORE semaphore) |
| 138 | { |
| 139 | return XGL_ERROR_UNAVAILABLE; |
| 140 | } |
| 141 | |
| 142 | static XGL_RESULT XGLAPI intelWaitQueueSemaphore( |
| 143 | XGL_QUEUE queue, |
| 144 | XGL_QUEUE_SEMAPHORE semaphore) |
| 145 | { |
| 146 | return XGL_ERROR_UNAVAILABLE; |
| 147 | } |
| 148 | |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 149 | static XGL_RESULT XGLAPI intelCreateShader( |
| 150 | XGL_DEVICE device, |
| 151 | const XGL_SHADER_CREATE_INFO* pCreateInfo, |
| 152 | XGL_SHADER* pShader) |
| 153 | { |
| 154 | return XGL_ERROR_UNAVAILABLE; |
| 155 | } |
| 156 | |
| 157 | static XGL_RESULT XGLAPI intelCreateGraphicsPipeline( |
| 158 | XGL_DEVICE device, |
| 159 | const XGL_GRAPHICS_PIPELINE_CREATE_INFO* pCreateInfo, |
| 160 | XGL_PIPELINE* pPipeline) |
| 161 | { |
| 162 | return XGL_ERROR_UNAVAILABLE; |
| 163 | } |
| 164 | |
| 165 | static XGL_RESULT XGLAPI intelCreateComputePipeline( |
| 166 | XGL_DEVICE device, |
| 167 | const XGL_COMPUTE_PIPELINE_CREATE_INFO* pCreateInfo, |
| 168 | XGL_PIPELINE* pPipeline) |
| 169 | { |
| 170 | return XGL_ERROR_UNAVAILABLE; |
| 171 | } |
| 172 | |
| 173 | static XGL_RESULT XGLAPI intelStorePipeline( |
| 174 | XGL_PIPELINE pipeline, |
| 175 | XGL_SIZE* pDataSize, |
| 176 | XGL_VOID* pData) |
| 177 | { |
| 178 | return XGL_ERROR_UNAVAILABLE; |
| 179 | } |
| 180 | |
| 181 | static XGL_RESULT XGLAPI intelLoadPipeline( |
| 182 | XGL_DEVICE device, |
| 183 | XGL_SIZE dataSize, |
| 184 | const XGL_VOID* pData, |
| 185 | XGL_PIPELINE* pPipeline) |
| 186 | { |
| 187 | return XGL_ERROR_UNAVAILABLE; |
| 188 | } |
| 189 | |
| 190 | static XGL_RESULT XGLAPI intelCreatePipelineDelta( |
| 191 | XGL_DEVICE device, |
| 192 | XGL_PIPELINE p1, |
| 193 | XGL_PIPELINE p2, |
| 194 | XGL_PIPELINE_DELTA* delta) |
| 195 | { |
| 196 | return XGL_ERROR_UNAVAILABLE; |
| 197 | } |
| 198 | |
Chia-I Wu | 30c7829 | 2014-08-04 10:08:08 +0800 | [diff] [blame] | 199 | const struct icd_dispatch_table intel_normal_dispatch_table = { |
| 200 | .InitAndEnumerateGpus = xglInitAndEnumerateGpus, |
| 201 | .GetGpuInfo = intelGetGpuInfo, |
| 202 | .CreateDevice = intelCreateDevice, |
| 203 | .DestroyDevice = intelDestroyDevice, |
| 204 | .GetExtensionSupport = intelGetExtensionSupport, |
| 205 | .GetDeviceQueue = intelGetDeviceQueue, |
| 206 | .QueueSubmit = intelQueueSubmit, |
| 207 | .QueueSetGlobalMemReferences = intelQueueSetGlobalMemReferences, |
| 208 | .QueueWaitIdle = intelQueueWaitIdle, |
| 209 | .DeviceWaitIdle = intelDeviceWaitIdle, |
| 210 | .GetMemoryHeapCount = intelGetMemoryHeapCount, |
| 211 | .GetMemoryHeapInfo = intelGetMemoryHeapInfo, |
| 212 | .AllocMemory = intelAllocMemory, |
| 213 | .FreeMemory = intelFreeMemory, |
| 214 | .SetMemoryPriority = intelSetMemoryPriority, |
| 215 | .MapMemory = intelMapMemory, |
| 216 | .UnmapMemory = intelUnmapMemory, |
| 217 | .PinSystemMemory = intelPinSystemMemory, |
| 218 | .RemapVirtualMemoryPages = intelRemapVirtualMemoryPages, |
| 219 | .GetMultiGpuCompatibility = intelGetMultiGpuCompatibility, |
| 220 | .OpenSharedMemory = intelOpenSharedMemory, |
| 221 | .OpenSharedQueueSemaphore = intelOpenSharedQueueSemaphore, |
| 222 | .OpenPeerMemory = intelOpenPeerMemory, |
| 223 | .OpenPeerImage = intelOpenPeerImage, |
| 224 | .DestroyObject = intelDestroyObject, |
| 225 | .GetObjectInfo = intelGetObjectInfo, |
| 226 | .BindObjectMemory = intelBindObjectMemory, |
| 227 | .CreateFence = intelCreateFence, |
| 228 | .GetFenceStatus = intelGetFenceStatus, |
| 229 | .WaitForFences = intelWaitForFences, |
| 230 | .CreateQueueSemaphore = intelCreateQueueSemaphore, |
| 231 | .SignalQueueSemaphore = intelSignalQueueSemaphore, |
| 232 | .WaitQueueSemaphore = intelWaitQueueSemaphore, |
| 233 | .CreateEvent = intelCreateEvent, |
| 234 | .GetEventStatus = intelGetEventStatus, |
| 235 | .SetEvent = intelSetEvent, |
| 236 | .ResetEvent = intelResetEvent, |
| 237 | .CreateQueryPool = intelCreateQueryPool, |
| 238 | .GetQueryPoolResults = intelGetQueryPoolResults, |
| 239 | .GetFormatInfo = intelGetFormatInfo, |
| 240 | .CreateImage = intelCreateImage, |
| 241 | .GetImageSubresourceInfo = intelGetImageSubresourceInfo, |
| 242 | .CreateImageView = intelCreateImageView, |
| 243 | .CreateColorAttachmentView = intelCreateColorAttachmentView, |
| 244 | .CreateDepthStencilView = intelCreateDepthStencilView, |
| 245 | .CreateShader = intelCreateShader, |
| 246 | .CreateGraphicsPipeline = intelCreateGraphicsPipeline, |
| 247 | .CreateComputePipeline = intelCreateComputePipeline, |
| 248 | .StorePipeline = intelStorePipeline, |
| 249 | .LoadPipeline = intelLoadPipeline, |
| 250 | .CreatePipelineDelta = intelCreatePipelineDelta, |
| 251 | .CreateSampler = intelCreateSampler, |
| 252 | .CreateDescriptorSet = intelCreateDescriptorSet, |
| 253 | .BeginDescriptorSetUpdate = intelBeginDescriptorSetUpdate, |
| 254 | .EndDescriptorSetUpdate = intelEndDescriptorSetUpdate, |
| 255 | .AttachSamplerDescriptors = intelAttachSamplerDescriptors, |
| 256 | .AttachImageViewDescriptors = intelAttachImageViewDescriptors, |
| 257 | .AttachMemoryViewDescriptors = intelAttachMemoryViewDescriptors, |
| 258 | .AttachNestedDescriptors = intelAttachNestedDescriptors, |
| 259 | .ClearDescriptorSetSlots = intelClearDescriptorSetSlots, |
| 260 | .CreateViewportState = intelCreateViewportState, |
| 261 | .CreateRasterState = intelCreateRasterState, |
| 262 | .CreateMsaaState = intelCreateMsaaState, |
| 263 | .CreateColorBlendState = intelCreateColorBlendState, |
| 264 | .CreateDepthStencilState = intelCreateDepthStencilState, |
| 265 | .CreateCommandBuffer = intelCreateCommandBuffer, |
| 266 | .BeginCommandBuffer = intelBeginCommandBuffer, |
| 267 | .EndCommandBuffer = intelEndCommandBuffer, |
| 268 | .ResetCommandBuffer = intelResetCommandBuffer, |
| 269 | .CmdBindPipeline = intelCmdBindPipeline, |
| 270 | .CmdBindPipelineDelta = intelCmdBindPipelineDelta, |
| 271 | .CmdBindStateObject = intelCmdBindStateObject, |
| 272 | .CmdBindDescriptorSet = intelCmdBindDescriptorSet, |
| 273 | .CmdBindDynamicMemoryView = intelCmdBindDynamicMemoryView, |
| 274 | .CmdBindIndexData = intelCmdBindIndexData, |
| 275 | .CmdBindAttachments = intelCmdBindAttachments, |
| 276 | .CmdPrepareMemoryRegions = intelCmdPrepareMemoryRegions, |
| 277 | .CmdPrepareImages = intelCmdPrepareImages, |
| 278 | .CmdDraw = intelCmdDraw, |
| 279 | .CmdDrawIndexed = intelCmdDrawIndexed, |
| 280 | .CmdDrawIndirect = intelCmdDrawIndirect, |
| 281 | .CmdDrawIndexedIndirect = intelCmdDrawIndexedIndirect, |
| 282 | .CmdDispatch = intelCmdDispatch, |
| 283 | .CmdDispatchIndirect = intelCmdDispatchIndirect, |
| 284 | .CmdCopyMemory = intelCmdCopyMemory, |
| 285 | .CmdCopyImage = intelCmdCopyImage, |
| 286 | .CmdCopyMemoryToImage = intelCmdCopyMemoryToImage, |
| 287 | .CmdCopyImageToMemory = intelCmdCopyImageToMemory, |
| 288 | .CmdCloneImageData = intelCmdCloneImageData, |
| 289 | .CmdUpdateMemory = intelCmdUpdateMemory, |
| 290 | .CmdFillMemory = intelCmdFillMemory, |
| 291 | .CmdClearColorImage = intelCmdClearColorImage, |
| 292 | .CmdClearColorImageRaw = intelCmdClearColorImageRaw, |
| 293 | .CmdClearDepthStencil = intelCmdClearDepthStencil, |
| 294 | .CmdResolveImage = intelCmdResolveImage, |
| 295 | .CmdSetEvent = intelCmdSetEvent, |
| 296 | .CmdResetEvent = intelCmdResetEvent, |
| 297 | .CmdMemoryAtomic = intelCmdMemoryAtomic, |
| 298 | .CmdBeginQuery = intelCmdBeginQuery, |
| 299 | .CmdEndQuery = intelCmdEndQuery, |
| 300 | .CmdResetQueryPool = intelCmdResetQueryPool, |
| 301 | .CmdWriteTimestamp = intelCmdWriteTimestamp, |
| 302 | .CmdInitAtomicCounters = intelCmdInitAtomicCounters, |
| 303 | .CmdLoadAtomicCounters = intelCmdLoadAtomicCounters, |
| 304 | .CmdSaveAtomicCounters = intelCmdSaveAtomicCounters, |
| 305 | .DbgSetValidationLevel = intelDbgSetValidationLevel, |
| 306 | .DbgRegisterMsgCallback = xglDbgRegisterMsgCallback, |
| 307 | .DbgUnregisterMsgCallback = xglDbgUnregisterMsgCallback, |
| 308 | .DbgSetMessageFilter = intelDbgSetMessageFilter, |
| 309 | .DbgSetObjectTag = intelDbgSetObjectTag, |
| 310 | .DbgSetGlobalOption = xglDbgSetGlobalOption, |
| 311 | .DbgSetDeviceOption = intelDbgSetDeviceOption, |
| 312 | .CmdDbgMarkerBegin = intelCmdDbgMarkerBegin, |
| 313 | .CmdDbgMarkerEnd = intelCmdDbgMarkerEnd, |
| 314 | }; |
| 315 | |
| 316 | const struct icd_dispatch_table intel_debug_dispatch_table = { |
| 317 | .InitAndEnumerateGpus = xglInitAndEnumerateGpus, |
| 318 | .GetGpuInfo = intelGetGpuInfo, |
| 319 | .CreateDevice = intelCreateDevice, |
| 320 | .DestroyDevice = intelDestroyDevice, |
| 321 | .GetExtensionSupport = intelGetExtensionSupport, |
| 322 | .GetDeviceQueue = intelGetDeviceQueue, |
| 323 | .QueueSubmit = intelQueueSubmit, |
| 324 | .QueueSetGlobalMemReferences = intelQueueSetGlobalMemReferences, |
| 325 | .QueueWaitIdle = intelQueueWaitIdle, |
| 326 | .DeviceWaitIdle = intelDeviceWaitIdle, |
| 327 | .GetMemoryHeapCount = intelGetMemoryHeapCount, |
| 328 | .GetMemoryHeapInfo = intelGetMemoryHeapInfo, |
| 329 | .AllocMemory = intelAllocMemory, |
| 330 | .FreeMemory = intelFreeMemory, |
| 331 | .SetMemoryPriority = intelSetMemoryPriority, |
| 332 | .MapMemory = intelMapMemory, |
| 333 | .UnmapMemory = intelUnmapMemory, |
| 334 | .PinSystemMemory = intelPinSystemMemory, |
| 335 | .RemapVirtualMemoryPages = intelRemapVirtualMemoryPages, |
| 336 | .GetMultiGpuCompatibility = intelGetMultiGpuCompatibility, |
| 337 | .OpenSharedMemory = intelOpenSharedMemory, |
| 338 | .OpenSharedQueueSemaphore = intelOpenSharedQueueSemaphore, |
| 339 | .OpenPeerMemory = intelOpenPeerMemory, |
| 340 | .OpenPeerImage = intelOpenPeerImage, |
| 341 | .DestroyObject = intelDestroyObject, |
| 342 | .GetObjectInfo = intelGetObjectInfo, |
| 343 | .BindObjectMemory = intelBindObjectMemory, |
| 344 | .CreateFence = intelCreateFence, |
| 345 | .GetFenceStatus = intelGetFenceStatus, |
| 346 | .WaitForFences = intelWaitForFences, |
| 347 | .CreateQueueSemaphore = intelCreateQueueSemaphore, |
| 348 | .SignalQueueSemaphore = intelSignalQueueSemaphore, |
| 349 | .WaitQueueSemaphore = intelWaitQueueSemaphore, |
| 350 | .CreateEvent = intelCreateEvent, |
| 351 | .GetEventStatus = intelGetEventStatus, |
| 352 | .SetEvent = intelSetEvent, |
| 353 | .ResetEvent = intelResetEvent, |
| 354 | .CreateQueryPool = intelCreateQueryPool, |
| 355 | .GetQueryPoolResults = intelGetQueryPoolResults, |
| 356 | .GetFormatInfo = intelGetFormatInfo, |
| 357 | .CreateImage = intelCreateImage, |
| 358 | .GetImageSubresourceInfo = intelGetImageSubresourceInfo, |
| 359 | .CreateImageView = intelCreateImageView, |
| 360 | .CreateColorAttachmentView = intelCreateColorAttachmentView, |
| 361 | .CreateDepthStencilView = intelCreateDepthStencilView, |
| 362 | .CreateShader = intelCreateShader, |
| 363 | .CreateGraphicsPipeline = intelCreateGraphicsPipeline, |
| 364 | .CreateComputePipeline = intelCreateComputePipeline, |
| 365 | .StorePipeline = intelStorePipeline, |
| 366 | .LoadPipeline = intelLoadPipeline, |
| 367 | .CreatePipelineDelta = intelCreatePipelineDelta, |
| 368 | .CreateSampler = intelCreateSampler, |
| 369 | .CreateDescriptorSet = intelCreateDescriptorSet, |
| 370 | .BeginDescriptorSetUpdate = intelBeginDescriptorSetUpdate, |
| 371 | .EndDescriptorSetUpdate = intelEndDescriptorSetUpdate, |
| 372 | .AttachSamplerDescriptors = intelAttachSamplerDescriptors, |
| 373 | .AttachImageViewDescriptors = intelAttachImageViewDescriptors, |
| 374 | .AttachMemoryViewDescriptors = intelAttachMemoryViewDescriptors, |
| 375 | .AttachNestedDescriptors = intelAttachNestedDescriptors, |
| 376 | .ClearDescriptorSetSlots = intelClearDescriptorSetSlots, |
| 377 | .CreateViewportState = intelCreateViewportState, |
| 378 | .CreateRasterState = intelCreateRasterState, |
| 379 | .CreateMsaaState = intelCreateMsaaState, |
| 380 | .CreateColorBlendState = intelCreateColorBlendState, |
| 381 | .CreateDepthStencilState = intelCreateDepthStencilState, |
| 382 | .CreateCommandBuffer = intelCreateCommandBuffer, |
| 383 | .BeginCommandBuffer = intelBeginCommandBuffer, |
| 384 | .EndCommandBuffer = intelEndCommandBuffer, |
| 385 | .ResetCommandBuffer = intelResetCommandBuffer, |
| 386 | .CmdBindPipeline = intelCmdBindPipeline, |
| 387 | .CmdBindPipelineDelta = intelCmdBindPipelineDelta, |
| 388 | .CmdBindStateObject = intelCmdBindStateObject, |
| 389 | .CmdBindDescriptorSet = intelCmdBindDescriptorSet, |
| 390 | .CmdBindDynamicMemoryView = intelCmdBindDynamicMemoryView, |
| 391 | .CmdBindIndexData = intelCmdBindIndexData, |
| 392 | .CmdBindAttachments = intelCmdBindAttachments, |
| 393 | .CmdPrepareMemoryRegions = intelCmdPrepareMemoryRegions, |
| 394 | .CmdPrepareImages = intelCmdPrepareImages, |
| 395 | .CmdDraw = intelCmdDraw, |
| 396 | .CmdDrawIndexed = intelCmdDrawIndexed, |
| 397 | .CmdDrawIndirect = intelCmdDrawIndirect, |
| 398 | .CmdDrawIndexedIndirect = intelCmdDrawIndexedIndirect, |
| 399 | .CmdDispatch = intelCmdDispatch, |
| 400 | .CmdDispatchIndirect = intelCmdDispatchIndirect, |
| 401 | .CmdCopyMemory = intelCmdCopyMemory, |
| 402 | .CmdCopyImage = intelCmdCopyImage, |
| 403 | .CmdCopyMemoryToImage = intelCmdCopyMemoryToImage, |
| 404 | .CmdCopyImageToMemory = intelCmdCopyImageToMemory, |
| 405 | .CmdCloneImageData = intelCmdCloneImageData, |
| 406 | .CmdUpdateMemory = intelCmdUpdateMemory, |
| 407 | .CmdFillMemory = intelCmdFillMemory, |
| 408 | .CmdClearColorImage = intelCmdClearColorImage, |
| 409 | .CmdClearColorImageRaw = intelCmdClearColorImageRaw, |
| 410 | .CmdClearDepthStencil = intelCmdClearDepthStencil, |
| 411 | .CmdResolveImage = intelCmdResolveImage, |
| 412 | .CmdSetEvent = intelCmdSetEvent, |
| 413 | .CmdResetEvent = intelCmdResetEvent, |
| 414 | .CmdMemoryAtomic = intelCmdMemoryAtomic, |
| 415 | .CmdBeginQuery = intelCmdBeginQuery, |
| 416 | .CmdEndQuery = intelCmdEndQuery, |
| 417 | .CmdResetQueryPool = intelCmdResetQueryPool, |
| 418 | .CmdWriteTimestamp = intelCmdWriteTimestamp, |
| 419 | .CmdInitAtomicCounters = intelCmdInitAtomicCounters, |
| 420 | .CmdLoadAtomicCounters = intelCmdLoadAtomicCounters, |
| 421 | .CmdSaveAtomicCounters = intelCmdSaveAtomicCounters, |
| 422 | .DbgSetValidationLevel = intelDbgSetValidationLevel, |
| 423 | .DbgRegisterMsgCallback = xglDbgRegisterMsgCallback, |
| 424 | .DbgUnregisterMsgCallback = xglDbgUnregisterMsgCallback, |
| 425 | .DbgSetMessageFilter = intelDbgSetMessageFilter, |
| 426 | .DbgSetObjectTag = intelDbgSetObjectTag, |
| 427 | .DbgSetGlobalOption = xglDbgSetGlobalOption, |
| 428 | .DbgSetDeviceOption = intelDbgSetDeviceOption, |
| 429 | .CmdDbgMarkerBegin = intelCmdDbgMarkerBegin, |
| 430 | .CmdDbgMarkerEnd = intelCmdDbgMarkerEnd, |
| 431 | }; |