Add a get*Function method to the ShaderExecutable interface
Trac #22155
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
This allows ProgramBinary::save to avoid knowing about D3D9 shaders
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1508 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/ShaderExecutable.h b/src/libGLESv2/renderer/ShaderExecutable.h
index d43f378..7130b77 100644
--- a/src/libGLESv2/renderer/ShaderExecutable.h
+++ b/src/libGLESv2/renderer/ShaderExecutable.h
@@ -21,6 +21,9 @@
ShaderExecutable() {};
virtual ~ShaderExecutable() {};
+ virtual bool getVertexFunction(void *pData, UINT *pSizeOfData) = 0;
+ virtual bool getPixelFunction(void *pData, UINT *pSizeOfData) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(ShaderExecutable);
};