v3d: move NIR compiler options to GL driver
The Vulkan driver was already creating and using its own set of options, so the ones defined in the compiler are only used with GL, which is confusing. Move them to the GL driver. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10647>
This commit is contained in:
@@ -937,8 +937,6 @@ vir_has_uniform(struct qinst *inst)
|
||||
return inst->uniform != ~0;
|
||||
}
|
||||
|
||||
extern const nir_shader_compiler_options v3d_nir_options;
|
||||
|
||||
const struct v3d_compiler *v3d_compiler_init(const struct v3d_device_info *devinfo);
|
||||
void v3d_compiler_free(const struct v3d_compiler *compiler);
|
||||
void v3d_optimize_nir(struct nir_shader *s);
|
||||
|
Reference in New Issue
Block a user