diff options
author | Ian Romanick <[email protected]> | 2015-08-31 18:44:42 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-09-02 16:24:17 -0700 |
commit | 7237c937af3b495191bee2f7240901e3a9daf1fb (patch) | |
tree | d918c1be60cd791d280ba898b847ecb0a74e4fe7 /src/mesa/vbo/vbo_save.h | |
parent | a6976f09727014730f45ec27c714c6a8140e074a (diff) |
mesa: Don't allow wrong type setters for matrix uniforms
Previously we would allow glUniformMatrix4fv on a dmat4 and
glUniformMatrix4dv on a mat4. Both are illegal. That later also
overwrites the storage for the mat4 and causes bad things to happen.
Should fix the (new) arb_gpu_shader_fp64-wrong-type-setter piglit test.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: "10.6 11.0" <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save.h')
0 files changed, 0 insertions, 0 deletions