diff options
author | Dave Airlie <airlied@redhat.com> | 2016-04-26 14:19:36 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-04-27 08:56:17 +1000 |
commit | 6cf36a7231ac38f968ee518bfaf088a14a5d2548 (patch) | |
tree | a3072ed56f2d084aba3401ac545dc420f89dbeba /src/gallium/auxiliary/tgsi | |
parent | 912ed84f83381330f0d616678878935cd2366293 (diff) | |
download | external_mesa3d-6cf36a7231ac38f968ee518bfaf088a14a5d2548.zip external_mesa3d-6cf36a7231ac38f968ee518bfaf088a14a5d2548.tar.gz external_mesa3d-6cf36a7231ac38f968ee518bfaf088a14a5d2548.tar.bz2 |
tgsi: accept a starting PC value for exec machine.
This will be used later to restart barriered execution
threads in compute, for now we just want to change the API.
Acked-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_exec.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_exec.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index f6b08bc..99606ab 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.c +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c @@ -5656,7 +5656,7 @@ exec_instruction( * \return bitmask of "alive" quad components */ uint -tgsi_exec_machine_run( struct tgsi_exec_machine *mach ) +tgsi_exec_machine_run( struct tgsi_exec_machine *mach, int start_pc ) { uint i; int pc = 0; diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h index b12f7be..0cdc194 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.h +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h @@ -460,7 +460,7 @@ tgsi_exec_machine_bind_shader( uint tgsi_exec_machine_run( - struct tgsi_exec_machine *mach ); + struct tgsi_exec_machine *mach, int start_pc ); void |