8 Apr
2019
8 Apr
'19
5:11 p.m.
I will make such a patch then. I would suggest to still keep constant values output as float in a comment to keep GLSL code readable in log. On 4/8/19 18:19, Henri Verbeet wrote:
I don't think special casing specific values adds much, but by itself, using ARB_shader_bit_encoding when available wouldn't be a bad thing. Note that we do something very similar for immediate values in shader_glsl_get_register_name(). The specific issue there was related to specifying floating-point specials like +/-INF or NaN.