@@ -16,17 +16,17 @@ namespace dxvk {
1616 [[nodiscard]] bool SetDepthBoundsTest (bool enable, float minDepth, float maxDepth) const ;
1717 [[nodiscard]] bool BeginUAVOverlap () const ;
1818 [[nodiscard]] bool EndUAVOverlap () const ;
19- bool MultiDrawInstancedIndirect (NvU32 drawCount, ID3D11Buffer* buffer, NvU32 alignedByteOffsetForArgs, NvU32 alignedByteStrideForArgs) const ;
20- bool MultiDrawIndexedInstancedIndirect (NvU32 drawCount, ID3D11Buffer* buffer, NvU32 alignedByteOffsetForArgs, NvU32 alignedByteStrideForArgs) const ;
21- bool CreateCubinComputeShaderWithName (const void * pCubin, NvU32 size, NvU32 blockX, NvU32 blockY, NvU32 blockZ, const char * pShaderName, NVDX_ObjectHandle* phShader) const ;
22- bool LaunchCubinShader (NVDX_ObjectHandle hShader, NvU32 gridX, NvU32 gridY, NvU32 gridZ, const void * pParams, NvU32 paramSize, const NVDX_ObjectHandle* pReadResources, NvU32 numReadResources, const NVDX_ObjectHandle* pWriteResources, NvU32 numWriteResources) const ;
23- bool DestroyCubinShader (NVDX_ObjectHandle hShader);
24- bool GetResourceDriverHandle (ID3D11Resource* pResource, NVDX_ObjectHandle* phObject);
25- bool GetResourceHandleGPUVirtualAddressAndSize (NVDX_ObjectHandle hObject, NvU64* gpuVAStart, NvU64* gpuVASize) const ;
26- bool CreateUnorderedAccessViewAndGetDriverHandle (ID3D11Resource* pResource, const D3D11_UNORDERED_ACCESS_VIEW_DESC* pDesc, ID3D11UnorderedAccessView** ppUAV, NvU32* pDriverHandle) const ;
27- bool CreateShaderResourceViewAndGetDriverHandle (ID3D11Resource* pResource, const D3D11_SHADER_RESOURCE_VIEW_DESC* pDesc, ID3D11ShaderResourceView** ppSRV, NvU32* pDriverHandle) const ;
28- bool GetCudaTextureObject (uint32_t srvDriverHandle, uint32_t samplerDriverHandle, uint32_t * pCudaTextureHandle) const ;
29- bool CreateSamplerStateAndGetDriverHandle (const D3D11_SAMPLER_DESC* pSamplerDesc, ID3D11SamplerState** ppSamplerState, uint32_t * pDriverHandle) const ;
19+ [[nodiscard]] bool MultiDrawInstancedIndirect (NvU32 drawCount, ID3D11Buffer* buffer, NvU32 alignedByteOffsetForArgs, NvU32 alignedByteStrideForArgs) const ;
20+ [[nodiscard]] bool MultiDrawIndexedInstancedIndirect (NvU32 drawCount, ID3D11Buffer* buffer, NvU32 alignedByteOffsetForArgs, NvU32 alignedByteStrideForArgs) const ;
21+ [[nodiscard]] bool CreateCubinComputeShaderWithName (const void * pCubin, NvU32 size, NvU32 blockX, NvU32 blockY, NvU32 blockZ, const char * pShaderName, NVDX_ObjectHandle* phShader) const ;
22+ [[nodiscard]] bool LaunchCubinShader (NVDX_ObjectHandle hShader, NvU32 gridX, NvU32 gridY, NvU32 gridZ, const void * pParams, NvU32 paramSize, const NVDX_ObjectHandle* pReadResources, NvU32 numReadResources, const NVDX_ObjectHandle* pWriteResources, NvU32 numWriteResources) const ;
23+ [[nodiscard]] bool DestroyCubinShader (NVDX_ObjectHandle hShader);
24+ [[nodiscard]] bool GetResourceDriverHandle (ID3D11Resource* pResource, NVDX_ObjectHandle* phObject);
25+ [[nodiscard]] bool GetResourceHandleGPUVirtualAddressAndSize (NVDX_ObjectHandle hObject, NvU64* gpuVAStart, NvU64* gpuVASize) const ;
26+ [[nodiscard]] bool CreateUnorderedAccessViewAndGetDriverHandle (ID3D11Resource* pResource, const D3D11_UNORDERED_ACCESS_VIEW_DESC* pDesc, ID3D11UnorderedAccessView** ppUAV, NvU32* pDriverHandle) const ;
27+ [[nodiscard]] bool CreateShaderResourceViewAndGetDriverHandle (ID3D11Resource* pResource, const D3D11_SHADER_RESOURCE_VIEW_DESC* pDesc, ID3D11ShaderResourceView** ppSRV, NvU32* pDriverHandle) const ;
28+ [[nodiscard]] bool GetCudaTextureObject (uint32_t srvDriverHandle, uint32_t samplerDriverHandle, uint32_t * pCudaTextureHandle) const ;
29+ [[nodiscard]] bool CreateSamplerStateAndGetDriverHandle (const D3D11_SAMPLER_DESC* pSamplerDesc, ID3D11SamplerState** ppSamplerState, uint32_t * pDriverHandle) const ;
3030 [[nodiscard]] bool IsFatbinPTXSupported () const ;
3131
3232 private:
0 commit comments