Stefan Dösinger : wined3d: Add a function for reading (ps_)helper_const.