[glsl-in] Remove wrong texture types

Glsl doesn't have depth textures what it has is combined image/samplerShadow
This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-07-07 12:59:20 -04:00
1 parent bd339e5f60
commit 7532c2abaa
1 file changed
-6
-6
View File
@@ -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,
};