http://bugs.winehq.org/show_bug.cgi?id=15858
--- Comment #1 from H. Verbeet hverbeet@gmail.com 2008-10-31 02:29:48 --- constant_locations has the value 0x3, that's not supposed to happen. prog->puniformF_locations in allocated in set_glsl_shader_program(), around line 3314. Could you check if the array is allocated properly? Also check that "prog" has the value you expect in shader_glsl_load_constants().