Questions tagged [directx11]

50 questions
3
votes
1 answer

Why don't Direct3D/Metal support texture swizzles?

To be clear, I'm talking about behavior like https://www.khronos.org/opengl/wiki/Texture#Swizzle_mask, not "normal" myColorVariable.rbgr swizzling in a shader. I really did start missing this feature after switching from OpenGL to Direct3D11, and…
1
vote
0 answers

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 doing a manual resolve in a shader, because some targets may make no sense to average. e.g. depth, encoded normals, IDs.. …
v.oddou
  • 623
  • 4
  • 9
0
votes
1 answer

XMMatrixPerspectiveFovLH is broken?

I've been trying to build a simple DirectX renderer from the ground up (was an OpenGL guy before but i figure it's good to know different APIs). I've been following the guide at rastertek.com to learn how to get the basics up and running. I got as…
russ
  • 2,392
  • 9
  • 18