Skip to main content

Questions tagged [directx11]

The tag has no usage guidance.

19 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
142 views

Injecting Virtual point lights into 3D Grid

I am currently trying to implement light propagation volumes in DirectX 11 and I have already done the RSM part which contains position, normal, depth and flux map generation. But for Injecting ...
user3059485's user avatar
4 votes
0 answers
311 views

Direct3D Global Atomic Issue

Recently I ran into an odd issue with some of my DirectX11 DirectCompute code when trying it on an AMD GPU for the first time where as on a NVIDIA one it had worked fine all through development. The ...
Lemon Drop's user avatar
4 votes
0 answers
82 views

Drawing "after" Present to achieve better performance

I had an application that was originally single threaded and worked as follows: gather the items to be drawn (occlusion / frustrum culling / sorting into batches) draw items using an immediate ...
default's user avatar
  • 333
3 votes
0 answers
77 views

Profile GPU performance in Direct3D 11

I'm trying to profile a d3d11 application using queries (pretty much exactly as described here). I noticed something strange with the data I was getting from the queries and I think I managed to ...
leone ruggiero's user avatar
3 votes
0 answers
70 views

Intel UHD extremely slow copy operations

Is there a way to make copy operations such as CopyResurce(d3d11) and glBlitFramebuffer(ogl) on multi-sample resources faster ...
leone ruggiero's user avatar
3 votes
0 answers
309 views

What are some good examples of post-processing edge detection?

I'm trying to implement a post-processing pass to detect silhouette-edges from depth data. (by silhouette-edge of a triangles mesh I mean the triangle edges shared by a front and a back-facing ...
leone ruggiero's user avatar
3 votes
0 answers
90 views

D3D11 MultisampleEnable and AntialiasedLineEnable affecting line rendering

Microsoft D3D11 documentation for D3D11_RASTERIZER_DESC structure writes: The settings of the MultisampleEnable and AntialiasedLineEnable members apply only to multisample antialiasing (MSAA) render ...
leone ruggiero's user avatar
3 votes
0 answers
561 views

Can you disable strip cutting (AKA primitive restart) on Direct3D 11?

Line strips and triangle strips are drawing modes supported across 3D graphics APIs, such as OpenGL, Direct3D, and Vulkan. When using indices to control drawing, a more recent feature is "strip ...
Roger Sanders's user avatar
2 votes
0 answers
47 views

Multipass Rendering Vertex Buffer Organisation

I am working on a Renderer that should do a Depth Prepass before rendering the desired geometry. For this I have a Vertex and Pixel Shader that outputs to the Depth Texture. After that it should ...
user avatar
1 vote
0 answers
73 views

Imprecise TEXCOORD interpolation of a screen quad in DirectX

I was debugging with RenderDoc an issue on an app based on Directx11 and 12 that draw screen space quads to perform various baking steps. These baking steps just render a quad in clip space without ...
Michele M.'s user avatar
1 vote
0 answers
261 views

OpenGL/D3D11 offscreen render multiple buffering

Recently I've been looking at Vulkan, and one thing that I noticed is that the application is responsible for choosing which buffer to render to in the case of multiple buffering. This got me thinking:...
Botond Máté's user avatar
1 vote
0 answers
119 views

Cannot use variable as texture sample value - HLSL DirectX11

I ran into strange problem. My HLSL VS won't compile for given lines: ...
DirectX_Programmer's user avatar
1 vote
1 answer
149 views

Optimisation of Geometry Pass

I'm trying to optimize a geometry pass for a game using dx11 and deferred rendering. (All test are performed on Nvidia GTX 1060 at fixed clock rate) After profiling with NSight it seems to have very ...
trfd's user avatar
  • 11
1 vote
0 answers
44 views

Texture2DMS slice access and bandwidth saving

Can we cut bandwidth by N (for N×MSAA) if we access only one slice of a multisampled texture in a shader ? I'm thinking of ...
v.oddou's user avatar
  • 623
0 votes
0 answers
54 views

Direct3D11 4x MSAA enabled - still looking bad

I'm rendering a simple triangle using Direct3D11 and I'm seeing a very visible staircase pattern despite enabling 4x MSAA with quality level = 16 on the swap chain (I'm not even using any depth/...
Ivan Ivanov's user avatar
0 votes
0 answers
37 views

AMD GPU specific triangles disappearing by subsequent draw calls in same frame

we have a Windows/DirectX11 2D Renderer that paints textured triangles to the screen from back to front. There is no face-culling or depth test activated. Now on AMD GPUs it happens randomly that an ...
user20154's user avatar
0 votes
0 answers
61 views

Hlsl Texture2d array that can be accessed using a variable index

I have tried ...
t3rminal's user avatar
0 votes
0 answers
139 views

void* D3D11_MAPPED_SUBRESOURCE::pData to OLE_COLOR* possible?

I have found the following from this link enter link description here pData Type: void* Pointer to the data. When ID3D11DeviceContext::Map provides the pointer, the runtime ensures that ...
Tajuddin Khandaker's user avatar
0 votes
0 answers
990 views

How to properly release directx com objects

This one I am not getting even one bit. I started learning directx11 and using the basic dx initialization i tried a experiment by allowing an option to destroy the window and creating it again ...
VersesDev's user avatar
  • 129