| /* | |
| * * Copyright 2021 NVIDIA Corporation | |
| * | |
| * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | |
| * | |
| * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | |
| * | |
| * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | |
| */ | |
| import "vkd3d_d3d12.idl"; | |
| import "vkd3d_vk_includes.h"; | |
| [ | |
| uuid(77a86b09-2bea-4801-b89a-37648e104af1), | |
| object, | |
| local, | |
| pointer_default(unique) | |
| ] | |
| interface ID3D12GraphicsCommandListExt : IUnknown | |
| { | |
| HRESULT GetVulkanHandle(VkCommandBuffer *pVkCommandBuffer); | |
| HRESULT LaunchCubinShader(D3D12_CUBIN_DATA_HANDLE *handle, UINT32 block_x, UINT32 block_y, UINT32 block_z, const void *params, UINT32 param_size); | |
| } | |
| [ | |
| uuid(d53b0028-afb4-4b65-a4f1-7b0daaa65b4f), | |
| object, | |
| local, | |
| pointer_default(unique) | |
| ] | |
| interface ID3D12GraphicsCommandListExt1 : ID3D12GraphicsCommandListExt | |
| { | |
| HRESULT LaunchCubinShaderEx(D3D12_CUBIN_DATA_HANDLE *handle, UINT32 block_x, UINT32 block_y, UINT32 block_z, UINT32 smem_size, const void *params, UINT32 param_size, const void *raw_params, UINT32 raw_params_count); | |
| } |