diff options
author | Brian Paul <[email protected]> | 2015-10-08 21:03:27 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-10-16 11:43:28 -0600 |
commit | 8d0d5dca5bd076ef363d3e923e6473916f3a9d35 (patch) | |
tree | 827ddb1069f7d33d341d89830d86add864a75e8c /src/gallium/drivers/svga/svga_tgsi.c | |
parent | 615b37a0e260ad8bd108a3e57a2a6f0eb6284246 (diff) |
svga: pass context to svga_tgsi_vgpu9_translate()
Will be used for upcoming change.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_tgsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi.c b/src/gallium/drivers/svga/svga_tgsi.c index 9a6fb465ccb..a047570ae36 100644 --- a/src/gallium/drivers/svga/svga_tgsi.c +++ b/src/gallium/drivers/svga/svga_tgsi.c @@ -175,7 +175,8 @@ svga_shader_emit_header(struct svga_shader_emitter *emit) * it is, it will be copied to a hardware buffer for upload. */ struct svga_shader_variant * -svga_tgsi_vgpu9_translate(const struct svga_shader *shader, +svga_tgsi_vgpu9_translate(struct svga_context *svga, + const struct svga_shader *shader, const struct svga_compile_key *key, unsigned unit) { struct svga_shader_variant *variant = NULL; |