Browse Source

ilo: hook up pipe context GPGPU functions

This just adds a stub.
tags/mesa-9.2-rc1
Chia-I Wu 12 years ago
parent
commit
0fa2d0e98a
1 changed files with 12 additions and 1 deletions
  1. 12
    1
      src/gallium/drivers/ilo/ilo_gpgpu.c

+ 12
- 1
src/gallium/drivers/ilo/ilo_gpgpu.c View File

#include "ilo_context.h" #include "ilo_context.h"
#include "ilo_gpgpu.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. * Initialize GPGPU-related functions.
*/ */
void void
ilo_init_gpgpu_functions(struct ilo_context *ilo) ilo_init_gpgpu_functions(struct ilo_context *ilo)
{ {
ilo->base.launch_grid = NULL;
ilo->base.launch_grid = ilo_launch_grid;
} }

Loading…
Cancel
Save