summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2012-12-13 05:44:41 +0800
committerChia-I Wu <[email protected]>2013-04-26 16:16:43 +0800
commit0fa2d0e98aec1e864f7edc225eb9cda449051733 (patch)
tree384327d62b0d18b1b52af1235a39602c2b47b7a2
parentcf8f3dd373da968214757f8622ad6bc016dd56e5 (diff)
ilo: hook up pipe context GPGPU functions
This just adds a stub.
-rw-r--r--src/gallium/drivers/ilo/ilo_gpgpu.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpgpu.c b/src/gallium/drivers/ilo/ilo_gpgpu.c
index 771c78f74ca..b17a518da60 100644
--- a/src/gallium/drivers/ilo/ilo_gpgpu.c
+++ b/src/gallium/drivers/ilo/ilo_gpgpu.c
@@ -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;
}