Updating LuminanceHistogramGenerator to use RWStructuredBuffer as RWBuffer doeesnt work on Metal when combined with atomic operations
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@
|
||||
ShaderResourceGroup PassSrg : SRG_PerPass
|
||||
{
|
||||
Texture2D<float4> m_inputTexture;
|
||||
RWBuffer<uint> m_outputTexture;
|
||||
RWStructuredBuffer<uint> m_outputTexture;
|
||||
}
|
||||
|
||||
groupshared uint shared_histogramBins[NUM_HISTOGRAM_BINS];
|
||||
|
||||
+1
-3
@@ -12,7 +12,5 @@
|
||||
"type": "Compute"
|
||||
}
|
||||
]
|
||||
},
|
||||
"DisabledRHIBackends": ["metal"]
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user