mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01:00
[glsl-in] Remove wrong texture types
Glsl doesn't have depth textures what it has is combined image/samplerShadow
This commit is contained in:
1 parent
bd339e5f60
commit
7532c2abaa
1 file changed
-6
@@ -133,12 +133,6 @@ pub fn parse_type(type_name: &str) -> Option<Type> {
|
||||
"3D" => (ImageDimension::D3, false, sampled(false)),
|
||||
"Cube" => (ImageDimension::Cube, false, sampled(false)),
|
||||
"CubeArray" => (ImageDimension::D2, false, sampled(false)),
|
||||
"1DShadow" => (ImageDimension::D1, false, ImageClass::Depth),
|
||||
"1DArrayShadow" => (ImageDimension::D1, true, ImageClass::Depth),
|
||||
"2DShadow" => (ImageDimension::D2, false, ImageClass::Depth),
|
||||
"2DArrayShadow" => (ImageDimension::D2, true, ImageClass::Depth),
|
||||
"CubeShadow" => (ImageDimension::Cube, false, ImageClass::Depth),
|
||||
"CubeArrayShadow" => (ImageDimension::Cube, true, ImageClass::Depth),
|
||||
_ => return None,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user