diff options
author | Tom Stellard <[email protected]> | 2015-03-06 14:53:00 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2015-03-09 13:53:33 +0000 |
commit | bbfa1c323917cc54162a64e7882cecaaaa9a7b70 (patch) | |
tree | 6eda0add71435018a1ace691887f701e9cab5d6b /src/gallium/drivers/radeonsi/si_compute.c | |
parent | a646b00cfc42fecdf4f853a6fe3ddf12d7801881 (diff) |
radeonsi/compute: Use value from compiler for COMPUTE_PGM_RSRC1.FLOAT_MODE
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 5009f699443..8609b894108 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -377,7 +377,8 @@ static void si_launch_grid( * XXX: The compiler should account for this. */ | S_00B848_SGPRS(((MAX2(4 + arg_user_sgpr_count, - shader->num_sgprs)) - 1) / 8)) + shader->num_sgprs)) - 1) / 8) + | S_00B028_FLOAT_MODE(shader->float_mode)) ; lds_blocks = shader->lds_size; |