Histogram works

This commit is contained in:
2025-04-08 18:09:59 -04:00
parent 79047a133f
commit 4a80fa5e6b
3 changed files with 26 additions and 12 deletions

View File

@ -3,7 +3,7 @@
// Input Texture (the processed image ready for display)
// Binding = 0 matches glBindImageTexture unit
// Use rgba8 format as we assume display texture is 8-bit sRGB (adjust if needed)
layout(binding = 0, rgba8) uniform readonly image2D InputTexture;
layout(binding = 0, rgba16f) uniform readonly image2D InputTexture;
// Output Histogram Buffer (SSBO)
// Binding = 1 matches glBindBufferBase index