diff options
author | Jason Ekstrand <[email protected]> | 2017-09-29 12:22:48 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-10-12 22:39:31 -0700 |
commit | 79d403417cacd2728916e32ae55f4fc2a018515c (patch) | |
tree | fab0fd92ab5a0192d2f883d12af00c6258fddf6e /src/intel/compiler/brw_compiler.h | |
parent | 8d90e2883954eb7022cf8fc98be3773cc5513e7b (diff) |
intel/cs: Make thread_local_id a regular builtin param
This is a lot more natural than special casing it all over the place.
We still have to do a bit of special-casing in assign_constant_locations
but it's not special-cased quite as bad as it was before.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_compiler.h')
-rw-r--r-- | src/intel/compiler/brw_compiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h index e2046581278..014202d36ca 100644 --- a/src/intel/compiler/brw_compiler.h +++ b/src/intel/compiler/brw_compiler.h @@ -542,6 +542,8 @@ enum brw_param_builtin { BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_W, BRW_PARAM_BUILTIN_TESS_LEVEL_INNER_X, BRW_PARAM_BUILTIN_TESS_LEVEL_INNER_Y, + + BRW_PARAM_BUILTIN_THREAD_LOCAL_ID, }; #define BRW_PARAM_BUILTIN_CLIP_PLANE(idx, comp) \ @@ -738,7 +740,6 @@ struct brw_cs_prog_data { unsigned threads; bool uses_barrier; bool uses_num_work_groups; - int thread_local_id_index; struct { struct brw_push_const_block cross_thread; |