projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svga: use new svga_new_shader_variant() function
[mesa.git]
/
src
/
gallium
/
drivers
/
svga
/
svga_tgsi.c
diff --git
a/src/gallium/drivers/svga/svga_tgsi.c
b/src/gallium/drivers/svga/svga_tgsi.c
index a047570ae36b712886b3b58e1da9e3dd06e31b15..202eee276b7c01bae57ea4727672f50c50945414 100644
(file)
--- a/
src/gallium/drivers/svga/svga_tgsi.c
+++ b/
src/gallium/drivers/svga/svga_tgsi.c
@@
-228,7
+228,7
@@
svga_tgsi_vgpu9_translate(struct svga_context *svga,
goto fail;
}
- variant =
CALLOC_STRUCT(svga_shader_variant
);
+ variant =
svga_new_shader_variant(svga
);
if (variant == NULL)
goto fail;