mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 21:31:36 +00:00
Fix minmax incorrect always sampling from 2D texture (OpenGL)
This commit is contained in:
1 parent
2ffde0988c
commit
194dd16504
1 file changed
+1
-1
@@ -128,7 +128,7 @@ void main()
|
||||
{
|
||||
for(uint x=topleft.x; x < min(texDim.x, topleft.x + HGRAM_PIXELS_PER_TILE); x++)
|
||||
{
|
||||
vec4 data = SampleTextureFloat4(vec2(x, y), RESTYPE_TEX2D, false,
|
||||
vec4 data = SampleTextureFloat4(vec2(x, y), texType, false,
|
||||
HistogramMip, HistogramSlice, HistogramSample, HistogramNumSamples);
|
||||
|
||||
if(i == 0)
|
||||
|
||||
Reference in new issue
Block a user