mesa: add double uniform support. (v5)
authorDave Airlie <airlied@redhat.com>
Wed, 11 Jun 2014 03:28:32 +0000 (13:28 +1000)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 19 Feb 2015 05:28:33 +0000 (00:28 -0500)
commit5cc486b4e3a169fd2d82c463ca793e48343daef3
tree143275fd7beee53c38a5be2ebee8dd618e9efe86
parentbf257d2c909681139f6880555d896745289152e7
mesa: add double uniform support. (v5)

This adds support for the new uniform interfaces
from ARB_gpu_shader_fp64.

v2:
support ARB_separate_shader_objects ProgramUniform*d* (Ian)
don't allow boolean uniforms to be updated (issue 15) (Ian)

v3: fix size_mul
v4: Teach uniform update to take into account double precision (Topi)
v5: add transpose for double case (Ilia)

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c
src/mesa/main/uniforms.h
src/mesa/program/ir_to_mesa.cpp