ilo: hook up pipe context GPGPU functions

This just adds a stub.
This commit is contained in:
Chia-I Wu 2012-12-13 05:44:41 +08:00 committed by Chia-I Wu
parent cf8f3dd373
commit 0fa2d0e98a

View file

@ -28,11 +28,22 @@
#include "ilo_context.h"
#include "ilo_gpgpu.h"
/*
* This is a placeholder. We will need something similar to ilo_3d_pipeline.
*/
static void
ilo_launch_grid(struct pipe_context *pipe,
const uint *block_layout, const uint *grid_layout,
uint32_t pc, const void *input)
{
}
/**
* Initialize GPGPU-related functions.
*/
void
ilo_init_gpgpu_functions(struct ilo_context *ilo)
{
ilo->base.launch_grid = NULL;
ilo->base.launch_grid = ilo_launch_grid;
}