diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-12-19 13:10:06 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-12-19 14:10:53 +0100 |
| commit | 1b9fe70d7c0b567c7930297af296e765e91bc02b (patch) | |
| tree | 35188e5a8185623ed25c691289f40f244dd74278 /Source/Core/VideoCommon/GeometryShaderGen.cpp | |
| parent | c9e469f8320af16307ad1dd6208e88457999bf3c (diff) | |
VideoCommon: Make IsPassthrough() a function of the ShaderUid.
Diffstat (limited to 'Source/Core/VideoCommon/GeometryShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/GeometryShaderGen.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/GeometryShaderGen.cpp b/Source/Core/VideoCommon/GeometryShaderGen.cpp index 38be5193ca..eaba7652d6 100644 --- a/Source/Core/VideoCommon/GeometryShaderGen.cpp +++ b/Source/Core/VideoCommon/GeometryShaderGen.cpp @@ -7,7 +7,6 @@ #include "VideoCommon/BPMemory.h" #include "VideoCommon/GeometryShaderGen.h" #include "VideoCommon/LightingShaderGen.h" -#include "VideoCommon/VertexManagerBase.h" #include "VideoCommon/VertexShaderGen.h" #include "VideoCommon/VideoConfig.h" @@ -302,9 +301,3 @@ void GenerateGeometryShaderCode(ShaderCode& object, u32 primitive_type, API_TYPE { GenerateGeometryShader<ShaderCode>(object, primitive_type, ApiType); } - -bool IsPassthroughGeometryShader(GeometryShaderUid& object) -{ - geometry_shader_uid_data* uid_data = object.GetUidData<geometry_shader_uid_data>(); - return uid_data->primitive_type == PRIMITIVE_TRIANGLES && !uid_data->stereo && !uid_data->wireframe; -} |
