Workaround a bug on metal preventing writing to the final texture
This commit is contained in:
Родитель
1c39d1bcde
Коммит
ed5666b884
|
@ -36,7 +36,9 @@ float3 GetPos(ByteAddressBuffer vertexBuffer, uint i)
|
|||
|
||||
#include "../_External/TressFXSDF.hlsl"
|
||||
|
||||
RWTexture3D<half> _SDF;
|
||||
// The texture is a half, but on metal declaring it as a half silently breaks writing
|
||||
RWTexture3D<float> _SDF;
|
||||
|
||||
StructuredBuffer<float> _SDFBuffer;
|
||||
RWStructuredBuffer<float> _SDFBufferRW;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче