summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_state.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state.c b/src/mesa/drivers/dri/radeon/radeon_state.c
index 0ce97e86972..ec5612fdd7f 100644
--- a/src/mesa/drivers/dri/radeon/radeon_state.c
+++ b/src/mesa/drivers/dri/radeon/radeon_state.c
@@ -45,6 +45,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45#include "tnl/tnl.h" 45#include "tnl/tnl.h"
46#include "tnl/t_pipeline.h" 46#include "tnl/t_pipeline.h"
47#include "swrast_setup/swrast_setup.h" 47#include "swrast_setup/swrast_setup.h"
48#include "drivers/common/meta.h"
48 49
49#include "radeon_context.h" 50#include "radeon_context.h"
50#include "radeon_mipmap_tree.h" 51#include "radeon_mipmap_tree.h"
@@ -2248,6 +2249,9 @@ void radeonInitStateFuncs( GLcontext *ctx , GLboolean dri2 )
2248 2249
2249 ctx->Driver.DrawBuffer = radeonDrawBuffer; 2250 ctx->Driver.DrawBuffer = radeonDrawBuffer;
2250 ctx->Driver.ReadBuffer = radeonReadBuffer; 2251 ctx->Driver.ReadBuffer = radeonReadBuffer;
2252 ctx->Driver.CopyPixels = _mesa_meta_CopyPixels;
2253 ctx->Driver.DrawPixels = _mesa_meta_DrawPixels;
2254 ctx->Driver.ReadPixels = radeonReadPixels;
2251 2255
2252 ctx->Driver.AlphaFunc = radeonAlphaFunc; 2256 ctx->Driver.AlphaFunc = radeonAlphaFunc;
2253 ctx->Driver.BlendEquationSeparate = radeonBlendEquationSeparate; 2257 ctx->Driver.BlendEquationSeparate = radeonBlendEquationSeparate;