I am not familiar at all with HLSL but ill copy what you wrote. How did you add the “parameter writes”?