[Mesa-dev] [PATCH 13/20] mesa: Add _mesa_propagate_uniforms_to_driver_storage
Eric Anholt
eric at anholt.net
Fri Oct 28 13:56:29 PDT 2011
On Fri, 28 Oct 2011 10:42:40 -0700, "Ian Romanick" <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> This function propagates the values from the backing storage of a
> gl_uniform_storage structure to the driver supplied data locations.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> src/mesa/main/uniform_query.cpp | 117 +++++++++++++++++++++++++++++++++++++++
> src/mesa/main/uniforms.h | 5 ++
> 2 files changed, 122 insertions(+), 0 deletions(-)
>
> diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp
> index 781af2d..c693055 100644
> --- a/src/mesa/main/uniform_query.cpp
> +++ b/src/mesa/main/uniform_query.cpp
> @@ -26,6 +26,7 @@
> #include "main/context.h"
> #include "ir.h"
> #include "../glsl/program.h"
> +#include "../glsl/ir_uniform.h"
>
> extern "C" {
> #include "main/image.h"
> @@ -728,6 +729,122 @@ set_program_uniform(struct gl_context *ctx, struct gl_program *program,
> }
>
> /**
> + * Propagate some values from uniform backing storage to driver storage
> + *
> + * Values propagates from uniform backing storage to driver storage
"propagated"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111028/2e05644e/attachment.pgp>
More information about the mesa-dev
mailing list