diff options
author | Dave Airlie <[email protected]> | 2011-06-02 14:48:06 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-06-02 14:50:18 +1000 |
commit | 7f6672f6a737bc1c47e36c9567bd6d908855ce4d (patch) | |
tree | 8e25a620e4bb1627bd6b6997c274de24136a3ff6 /src/gallium/drivers/r600/r600_asm.c | |
parent | 991dbd71fdcc95e42bc56097d2fef3a7df0e8eaa (diff) |
r600g: prepare for passing ctx into _r600_pipe_state_add_reg
This moves the functions down the file, and also adds a ctx parameter.
This is precursor patch just moving stuff around and getting it ready.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index dda429e48fa..65e539eba35 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -2283,9 +2283,9 @@ int r600_vertex_elements_build_fetch_shader(struct r600_pipe_context *rctx, stru r600_bc_clear(&bc); if (rctx->family >= CHIP_CEDAR) - evergreen_fetch_shader(ve); + evergreen_fetch_shader(&rctx->context, ve); else - r600_fetch_shader(ve); + r600_fetch_shader(&rctx->context, ve); return 0; } |