### Godot version

4.0.3.stable

### System information

Linux - Godot v4.0.3.stable - Vulkan (Forward+)

### Issue description

Disabling the shader pre-processor with `#pragma disable_preprocessor` causes errors to be displayed about built-ins being unknown. However, the shader will correctly compile and function as normal - the error is only in the shader editor.

Example screenshot:
![Screenshot from 2023-06-20 17-55-20](https://github.com/godotengine/godot/assets/19494722/06c9ea85-1e60-4f8c-8630-bbcfd13685c5)


### Steps to reproduce

1. Open project
2. Open `error-example.gdshader` in shader editor
3. Observe error

### Minimal reproduction project

[godot-4-shader-preprocessor-editor-error-minimal-reproduction-project-main.zip](https://github.com/godotengine/godot/files/11804403/godot-4-shader-preprocessor-editor-error-minimal-reproduction-project-main.zip)

Can also be found at: https://github.com/MenacingMecha/godot-4-shader-preprocessor-editor-error-minimal-reproduction-project
_update_shader();
	List<PropertyInfo> local;
	RenderingServer::get_singleton()->get_shader_parameter_list(shader, &local);
	for (PropertyInfo &pi : local) {
		bool is_group = pi.usage == PROPERTY_USAGE_GROUP || pi.usage == PROPERTY_USAGE_SUBGROUP;
		if (!p_get_groups && is_group) {
			continue;
		}
		if (!is_group) {
			if (default_textures.has(pi.name)) { 
				continue;
			}
		}
		if (p_params) {
			
			if (pi.type == Variant::RID) {
				pi.type = Variant::OBJECT;
			}
			p_params->push_back(pi);
		}
	}
}
RID Shader::get_rid() const {
	_update_shader();
	return shader;
}
void Shader::set_default_texture_parameter(const StringName &p_name, const Ref<Texture2D> &p_texture, int p_index) {