Hash :
c0ccbd83
Author :
Date :
2012-11-28T20:59:37
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
//
// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ShaderExecutable.h: Defines a renderer-agnostic class to contain shader
// executable implementation details.
#ifndef LIBGLESV2_RENDERER_SHADEREXECUTABLE_H_
#define LIBGLESV2_RENDERER_SHADEREXECUTABLE_H_
#include "common/angleutils.h"
namespace rx
{
class ShaderExecutable
{
public:
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);
};
}
#endif // LIBGLESV2_RENDERER_SHADEREXECUTABLE9_H_