python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
dx12) Shader Constants goes wrong
As you can see, in PIX, Pipeline says there's right values on GPU, but when I debug Pixels, it uses wrong values without gZSplits[0].
And I Upload Values to GPU like this, and mZSplits is std::vecto...
Shark_Bladder
Votes: 0
Answers: 1
Why does this HLSL pixel shader not compile?
I'm working on a ray tracing pixel shader and came across a weird error. I wrote the following code solely to generate the error, it's pointless but I can't figure out what's wrong with it.
float4 mai...
BubLblckZ
Votes: 0
Answers: 1
How do you compile a HLSL shader DX9 without preshaders?
I'm trying to compile a HLSL DX9 shader without preshaders, but the 9.29.952.3111 version of FXC displays invalid flags when using the /Op argument.
It's for a shader model 3 target.
Here's the comman...
wtwilliams
Votes: 0
Answers: 0
What can I do to fix my code with this HLSL error about array references in loops?
I've got an HLSL file with the following code:
struct particle
{
float2 pos;
float next_pos;
float angle;
};
particle nearby[32];
float angles[32];
for (uint i = 0; i < number_of_partic...

Jud e
Votes: 0
Answers: 1