python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
DX12) Part of the Constants buffer is cut off
This is my Constant buffer for Object Drawing.
actually, gWorld and gOldWorld have correct values, but gCubemapOn, gMotionBlurOn, gRimLightOn values are going wrong.
gCubemapOn must be TRUE and it l...
Shark_Bladder
Votes: 0
Answers: 1
What happens when multiple GPU threads in a single warp/wave attempt to write to the same shared memory location?
I've been learning about parallel/GPU programming a lot recently, and I've encountered a situation that's stumped me. What happens when two threads in a warp/wave attempt to write to the same exact lo...
ancientjpeg
Votes: 0
Answers: 0
Monogame HLSL shader error "The Parameter is incorrect"
I got the following error message:
SharpDX.SharpDXException: 'HRESULT: [0x80070057], Module: [General],
ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is
incorrect.
...
codymanix
Votes: 0
Answers: 1
How to use dynamic branching to skip unnecessary instructions
I would like to use dynamic branching to skip unnecessary instructions. Please consider two functions:
float computeFirst(float s)
{
[branch] if(abs(s) > 1.0)
return -1.0;
// a...
Zubetto
Votes: 0
Answers: 1