nir/lower_system_values: Add support for several computed values

Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Jason Ekstrand
2016-03-25 10:54:27 -07:00
parent 39103145ff
commit a9e6213edd
4 changed files with 76 additions and 4 deletions

View File

@@ -1626,6 +1626,9 @@ typedef struct nir_shader_compiler_options {
* are simulated by floats.)
*/
bool native_integers;
/* Indicates that the driver only has zero-based vertex id */
bool vertex_id_zero_based;
} nir_shader_compiler_options;
typedef struct nir_shader_info {