diff options
author | Jason Ekstrand <[email protected]> | 2016-03-25 10:54:27 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-11 13:53:03 -0700 |
commit | a9e6213edd757980475167331bda15c3970a538d (patch) | |
tree | f64269995a3bd48b194ecad571b454bf2fd5cf8a /src/gallium/drivers/freedreno/ir3/ir3_nir.c | |
parent | 39103145ffe325c4a1432c07e1ac02b1aef0bae5 (diff) |
nir/lower_system_values: Add support for several computed values
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_nir.c')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_nir.c index 73c65d6ad27..b3b6346c8a5 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c @@ -45,6 +45,7 @@ ir3_tgsi_to_nir(const struct tgsi_token *tokens) .lower_flrp = true, .lower_ffract = true, .native_integers = true, + .vertex_id_zero_based = true, .lower_extract_byte = true, .lower_extract_word = true, }; |