gallium/hud: use u_sampler_view_default_template helper
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 1 Oct 2014 23:43:38 +0000 (19:43 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 2 Oct 2014 16:18:21 +0000 (12:18 -0400)
commit786f01c492bb6a90a4835389666dd0c5c984ea6a
tree7d11c59631d64f5345eb2ef43cbd7bd2eebc3b0c
parentdb8cd4d519d8b4cb2c05901e4f1a80a41ae67b2b
gallium/hud: use u_sampler_view_default_template helper

The existing code was not setting several fields, most importantly the
target, which is required on nv50/nvc0.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/hud/hud_context.c