Skip to content

Possible calling convention issue with ID3D11Blob (vkd3d) on linux x64 using dxvk #1634

@txt231

Description

@txt231

Summary

Having an issue running the d3d sample using dxvk.

The main issue stems from ID3D10Blob returning garbage.
From investigating it looks like the virtual functions used in ID3D10Blob from vkd3d uses microsoft calling conventon, while im presuming it gets called using a linux one.

debugging
values

NOTE: images are not the same process instance. If it was it should have returned, 0x5600192d8970 for data ptr and 0x258 for size.

Steps to reproduce

  • Platform: Desktop Linux(arch) x86_64
  • Framework Version: net7.0, Not sure if rider uses mono or dotnet to compile.
  • API: D3D11(DXVK), GLFW window
  • API Version: D3D_FEATURE_LEVEL_11_0
  1. Copied the code from the d3d11 sample into a rider c# project.
  2. install nuget libraries (for dxvk with GLFW window)
  3. run code

Comments

Issue isnt techinically directly in this project as its in vkd3d this project uses, specfiically with STDMETHODCALLTYPE

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions