Skip to main content
Best practices
0 votes
2 replies
31 views

We have created a UI framework using DirectX and Win32 APIs. Recently we started using iFlip mode. But with iFlip mode DWM automatically switches back to iFlip mode from composited mode, when a popup/ ...
Iam_MK87's user avatar
Advice
0 votes
2 replies
31 views

The reason I'm asking this question is because I have cases in a vertex shader where I have: layout (location = 0) out float3 outEyeSpacePosition; layout (location = 1) out float2 out_tex_coords; And ...
Zebrafish's user avatar
  • 16.3k
3 votes
1 answer
87 views

I tried drawing a rounded rectangle via the renderTarget, but encountered an issue where the image disappears every other frame—what could be the cause? #include <d2d1_1.h> #include <d2d1_2.h&...
feng lei's user avatar
3 votes
2 answers
91 views

In a graphics API like Vulkan, you have VkFilter, which can be NEAREST or LINEAR. Leaving aside the mipmap filtering, which is another thing altogether, I'm trying to understand what the point of the ...
Zebrafish's user avatar
  • 16.3k
-2 votes
1 answer
117 views

I was learning directx by https://github.com/d3dcoder/d3d12book, and at one point, it suddenly started not working in Debug mode like this. So I asked github copilot and he said that the problem was ...
Beomjun Kim's user avatar
1 vote
1 answer
99 views

This question is supposed to be in the most general sense possible, this is because I'm using the Slang shading language to apply potentially to multiple graphics APIs. In OpenGL and Vulkan the ...
Zebrafish's user avatar
  • 16.3k
1 vote
0 answers
65 views

For testing purposes I need a tool that will occupy some amount of VRAM, leaving a reduced available VRAM to the rest of the applications. I implemented a version that somewhat works using D3D12 API, ...
Virgileo's user avatar
1 vote
1 answer
70 views

I'm trying to follow https://devblogs.microsoft.com/pix/using-automatic-shader-pdb-resolution-in-pix Emitting PDBs for DXIL Shaders (compiled via dxcompiler.dll) You can discover the relevant ...
Tom Huntington's user avatar
1 vote
1 answer
67 views

Can you extract a world (or world-view) matrix from a World-View-Projection matrix? Some apps might only provide a WVP matrix to vertex shader inputs. If you intercept them you can't transform ...
Twinsen's user avatar
  • 49
1 vote
0 answers
48 views

I added Microsoft.Direct3D.DXC so that I would have dxcompiler.dll But then I couldn't compile Shader Model 5 shaders. The build system couldn't find fxc.exe from the SDK because it looks in the DXC ...
Tom Huntington's user avatar
2 votes
0 answers
115 views

I'd like to add flipping the render output window (X and) of an existing project, a c64 emulator. It is written in C, and it uses IDirect3DDevice9, so i have to work with this. I did google a lot, ...
johnmeck's user avatar
-1 votes
1 answer
788 views

I need to move the shader cache for the game STALKER 2 off of my C: drive as there is not enough space. How can I move the directory: C:\Users\tk421\AppData\Local\AMD\DxcCache to another drive in ...
tk421storm's user avatar
-6 votes
1 answer
104 views

I have been told that when it comes to GPU APIs like Vulkan and DirectX and the host is for example little-endian and the GPU is big-endian that you can read for example a 32-bit integer and the ...
Zebrafish's user avatar
  • 16.3k
3 votes
0 answers
200 views

I'm trying to figure why i'm getting GPU memory leak on this code. I checked using System Informer, at "Gpu Dedicated bytes" the memory usage increases on each loop iteration. I thought it ...
Ruan's user avatar
  • 41
2 votes
1 answer
148 views

I have sample code that creates a 320x180 texture and displays it in a resizable window that starts off at 320x180 inner-size. But as I resize the window upwards, the texture is blurry. I thought that ...
user29889977's user avatar

15 30 50 per page
1
2 3 4 5
397