Make internal struct ShaderData non-pub (#5609)
# Objective `ShaderData` is marked as public, but is an internal type only used by one other internal type, so it should be made private. ## Solution `ShaderData` is only used in `ShaderCache`, and the latter is private, so there is no need to make the former public. This change removes the `pub` keyword from `ShaderData`, hidding it as the implementation detail it is. Split from #5600
This commit is contained in:
parent
b80636b330
commit
a9634c7344
@ -72,7 +72,7 @@ impl CachedPipelineState {
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct ShaderData {
|
||||
struct ShaderData {
|
||||
pipelines: HashSet<CachedPipelineId>,
|
||||
processed_shaders: HashMap<Vec<String>, Arc<ShaderModule>>,
|
||||
resolved_imports: HashMap<ShaderImport, Handle<Shader>>,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user