mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Remove the leftover geometry shader scaffolding
Nothing has generated or used a geometry shader since the GS paths were removed - GeometryShaderGenerator is gone, and ShaderWriter's BeginGSMain/EndGSMain had no callers at all. Removes ShaderStage::Geometry and everything hanging off it: the GS preambles and GSMain helpers in ShaderWriter, the stage mappings in all three thin3d backends, the D3D11 geometry shader plumbing (curGS_, the pipeline and module members, gs_4_0 compilation), CreateGeometryShaderD3D11, the unused PipelineFlags::USES_GEOMETRY_SHADER and PipelineManagerVulkan's UsesGeometryShader(). Also stop enabling the Vulkan geometryShader device feature, since we no longer have any use for it. Kept on purpose: the device feature is still listed in the feature dumps (like other capabilities we don't use), and the Vulkan shader cache header keeps its now-always-zero geometry shader count so the on-disk format stays compatible.
This commit is contained in:
1 parent
2820fa9467
commit
de0dc2d7d4
15 files changed
+4
-136
No files matched your search
@@ -55,7 +55,6 @@
|
||||
static EShLanguage GetShLanguageFromStage(const ShaderStage stage) {
|
||||
switch (stage) {
|
||||
case ShaderStage::Vertex: return EShLangVertex;
|
||||
case ShaderStage::Geometry: return EShLangGeometry;
|
||||
case ShaderStage::Fragment: return EShLangFragment;
|
||||
case ShaderStage::Compute: return EShLangCompute;
|
||||
default: return EShLangVertex;
|
||||
|
||||
Reference in new issue
Block a user