tree-wide: replace MAYBE_UNUSED with ASSERTED
[mesa.git] / src / util / half_float.c
index 422c0b69b782ca88df851cd0639de8a527829ee9..5ccee81f78a080cce59169bb787faca33582fd0c 100644 (file)
@@ -146,7 +146,7 @@ uint8_t _mesa_half_to_unorm8(uint16_t val)
 {
    const int m = val & 0x3ff;
    const int e = (val >> 10) & 0x1f;
-   MAYBE_UNUSED const int s = (val >> 15) & 0x1;
+   ASSERTED const int s = (val >> 15) & 0x1;
 
    /* v = round_to_nearest(1.mmmmmmmmmm * 2^(e-15) * 255)
     *   = round_to_nearest((1.mmmmmmmmmm * 255) * 2^(e-15))