diff options
author | Christian Gmeiner <[email protected]> | 2019-05-05 11:35:41 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2019-05-07 07:35:52 +0200 |
commit | 4e110eca42ac2c56c5763a1f502e7c80db67e064 (patch) | |
tree | 0eb3b8dc9c3e5bdb770884761adeae7fe563b9e3 /src/compiler/glsl/glsl_to_nir.cpp | |
parent | 050b934a24072df862a1fdad424c8f33379e8e26 (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_to_nir.cpp')
-rw-r--r-- | src/compiler/glsl/glsl_to_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp index 0aeac769452..a2c2f13416f 100644 --- a/src/compiler/glsl/glsl_to_nir.cpp +++ b/src/compiler/glsl/glsl_to_nir.cpp @@ -263,7 +263,7 @@ glsl_to_nir(struct gl_context *ctx, nir_visitor::nir_visitor(gl_context *ctx, nir_shader *shader) { - this->supports_ints = shader->options->native_integers; + this->supports_ints = true; this->supports_std430 = ctx->Const.UseSTD430AsDefaultPacking; this->shader = shader; this->is_global = true; |