nir: nir_shader_compiler_options: drop native_integers

Driver which do not support native integers should use a lowering
pass to go from integers to floats.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Christian Gmeiner
2019-05-05 11:35:41 +02:00
parent 050b934a24
commit 4e110eca42
12 changed files with 11 additions and 53 deletions

View File

@@ -2300,12 +2300,6 @@ typedef struct nir_shader_compiler_options {
bool lower_all_io_to_temps;
bool lower_all_io_to_elements;
/**
* Does the driver support real 32-bit integers? (Otherwise, integers
* are simulated by floats.)
*/
bool native_integers;
/* Indicates that the driver only has zero-based vertex id */
bool vertex_id_zero_based;