summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-08-31 18:44:42 -0700
committerIan Romanick <[email protected]>2015-09-02 16:24:17 -0700
commit7237c937af3b495191bee2f7240901e3a9daf1fb (patch)
treed918c1be60cd791d280ba898b847ecb0a74e4fe7 /bin
parenta6976f09727014730f45ec27c714c6a8140e074a (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 'bin')
0 files changed, 0 insertions, 0 deletions