From: Chia-I Wu Date: Wed, 12 Dec 2012 21:44:41 +0000 (+0800) Subject: ilo: hook up pipe context GPGPU functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fa2d0e98aec1e864f7edc225eb9cda449051733;p=mesa.git ilo: hook up pipe context GPGPU functions This just adds a stub. --- 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; }