meta: Make shader template literal strings be parameters to asprintf
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 5 Oct 2012 22:19:45 +0000 (15:19 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 8 Oct 2012 03:35:50 +0000 (20:35 -0700)
commit86de501f14f11f1e993c8703c0d69bdf1f6c7835
treec2352e7f0fc5769b305f3cb615a980f67aba512d
parent751737f4975d922d79ae00f3145832043fcc8bab
meta: Make shader template literal strings be parameters to asprintf

This enables the C compiler to generate warnings if the formats and the
arguments don't match.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/common/meta.c