summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_tgsi_vgpu10.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-10-08 21:06:18 -0600
committerBrian Paul <[email protected]>2015-10-16 11:43:28 -0600
commitf413f1a17c506d5d4474a1baa0556a9e9f554c63 (patch)
treed964837bc9636e1850251a06bbca03c60ce783c5 /src/gallium/drivers/svga/svga_tgsi_vgpu10.c
parent8d0d5dca5bd076ef363d3e923e6473916f3a9d35 (diff)
svga: use new svga_new_shader_variant() function
To simplify upcoming new HUD shader count implementation. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi_vgpu10.c')
-rw-r--r--src/gallium/drivers/svga/svga_tgsi_vgpu10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c
index e4f027b9567..d62f2bbcc96 100644
--- a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c
+++ b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c
@@ -6735,7 +6735,7 @@ svga_tgsi_vgpu10_translate(struct svga_context *svga,
/*
* Create, initialize the 'variant' object.
*/
- variant = CALLOC_STRUCT(svga_shader_variant);
+ variant = svga_new_shader_variant(svga);
if (!variant)
goto cleanup;