diff options
author | Rob Clark <[email protected]> | 2018-03-08 14:18:59 -0500 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2018-07-15 07:51:13 +0200 |
commit | 427a3dbdb14ae424158454985860e03d57d84c27 (patch) | |
tree | eacd58bdb999a321de8fb318afb008c19592f352 /src/compiler/nir/nir_intrinsics.py | |
parent | 39180d39319427ddd327ab1ec18e0c6233eae9d6 (diff) |
nir/spirv: implement BuiltInWorkDim
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_intrinsics.py')
-rw-r--r-- | src/compiler/nir/nir_intrinsics.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py index 919aa609f8a..1a03a6aa30f 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -452,6 +452,7 @@ system_value("num_subgroups", 1) system_value("subgroup_id", 1) system_value("local_group_size", 3) system_value("global_invocation_id", 3) +system_value("work_dim", 1) # Blend constant color values. Float values are clamped.# system_value("blend_const_color_r_float", 1) |