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

@@ -50,7 +50,6 @@ static const nir_shader_compiler_options vs_nir_options = {
.lower_ftrunc = true,
/* could be implemented by clamp */
.lower_fsat = true,
.native_integers = true,
};
static const nir_shader_compiler_options fs_nir_options = {
@@ -60,7 +59,6 @@ static const nir_shader_compiler_options fs_nir_options = {
.lower_flrp32 = true,
.lower_flrp64 = true,
.lower_fsign = true,
.native_integers = true,
};
const void *