Re: [Mesa-dev] [PATCH 12/26] glsl/shader_enums: Add the other two compute builtins

2016-04-11 Thread Roland Scheidegger
Am 11.04.2016 um 23:50 schrieb Jose Fonseca: > On 25/03/16 23:12, Jason Ekstrand wrote: >> These weren't added before because they are actually calculated values >> that >> are computed from other inputs. However, in order to handle them in >> nir_lower_system_values, it's nice for them to have a

Re: [Mesa-dev] [PATCH 12/26] glsl/shader_enums: Add the other two compute builtins

2016-04-11 Thread Brian Paul
On 04/11/2016 03:50 PM, Jose Fonseca wrote: On 25/03/16 23:12, Jason Ekstrand wrote: These weren't added before because they are actually calculated values that are computed from other inputs. However, in order to handle them in nir_lower_system_values, it's nice for them to have a cannonical

Re: [Mesa-dev] [PATCH 12/26] glsl/shader_enums: Add the other two compute builtins

2016-04-11 Thread Jose Fonseca
On 25/03/16 23:12, Jason Ekstrand wrote: These weren't added before because they are actually calculated values that are computed from other inputs. However, in order to handle them in nir_lower_system_values, it's nice for them to have a cannonical locaiton. --- src/compiler/shader_enums.c |

[Mesa-dev] [PATCH 12/26] glsl/shader_enums: Add the other two compute builtins

2016-03-25 Thread Jason Ekstrand
These weren't added before because they are actually calculated values that are computed from other inputs. However, in order to handle them in nir_lower_system_values, it's nice for them to have a cannonical locaiton. --- src/compiler/shader_enums.c | 2 ++ src/compiler/shader_enums.h | 2 ++ 2