wined3d: Take the data type of immediates into account in shader_glsl_get_register_na...