hlsl cleanup