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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user