mirror of
https://github.com/RPCS3/glslang.git
synced 2026-01-31 01:25:22 +01:00
updated test to test atomic float add and test results
This commit is contained in:
committed by
kd-11
parent
5aa37e39cc
commit
0ab71c6180
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,8 @@ groupshared uint3 gs_uc3;
|
||||
groupshared uint4 gs_ua4;
|
||||
groupshared uint4 gs_ub4;
|
||||
groupshared uint4 gs_uc4;
|
||||
groupshared float gs_fa;
|
||||
groupshared float gs_fb;
|
||||
|
||||
float ComputeShaderFunctionS(float inF0, float inF1, float inF2, uint inU0, uint inU1)
|
||||
{
|
||||
@@ -36,6 +38,8 @@ float ComputeShaderFunctionS(float inF0, float inF1, float inF2, uint inU0, uint
|
||||
InterlockedXor(gs_ua, gs_ub);
|
||||
InterlockedXor(gs_ua, gs_ub, out_u1);
|
||||
|
||||
InterlockedAdd(gs_fa, gs_fb);
|
||||
|
||||
// CheckAccessFullyMapped(3); // TODO: ...
|
||||
|
||||
return 0.0;
|
||||
|
||||
Reference in New Issue
Block a user