ilo: hook up pipe context GPGPU functions
authorChia-I Wu <olv@lunarg.com>
Wed, 12 Dec 2012 21:44:41 +0000 (05:44 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 26 Apr 2013 08:16:43 +0000 (16:16 +0800)
This just adds a stub.

src/gallium/drivers/ilo/ilo_gpgpu.c

index 771c78f74ca161196af44c5cdf18fdb0edc344e2..b17a518da604c56196c99395a281416c96a64fd3 100644 (file)
 #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;
 }