From 0fa2d0e98aec1e864f7edc225eb9cda449051733 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 13 Dec 2012 05:44:41 +0800 Subject: [PATCH] ilo: hook up pipe context GPGPU functions This just adds a stub. --- src/gallium/drivers/ilo/ilo_gpgpu.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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; } -- 2.30.2