render pass first work

This commit is contained in:
2026-08-26 21:07:12 +03:00
parent 8055881fef
commit a6818a6cf4
18 changed files with 342 additions and 84 deletions
+2 -2
View File
@@ -22,11 +22,11 @@ CS
Texture2D<float4> g_in;
RWTexture2D<float4> g_out;
[numthreads(1,1,1)]
[numthreads(32,32,1)]
void csMain( int3 threadId : SV_DispatchThreadID )
{
float4 vColor = g_in.Load(threadId);
vColor.xyz = agxDefaultContrastApprox(vColor.xyz);
//vColor.xyz = agxDefaultContrastApprox(vColor.xyz);
g_out.Store(threadId.xy, vColor);
}