r600g: Fix build

Broken since 2840bec56f when opencl is
disabled.
This commit is contained in:
Tom Stellard
2013-06-28 11:08:07 -07:00
parent ee723ffabb
commit 47e35eff9d
+2 -2
View File
@@ -519,13 +519,13 @@ static void evergreen_launch_grid(
{
struct r600_context *ctx = (struct r600_context *)ctx_;
#ifdef HAVE_OPENCL
struct r600_pipe_compute *shader = ctx->cs_shader_state.shader;
struct r600_kernel *kernel = &shader->kernels[pc];
COMPUTE_DBG(ctx->screen, "*** evergreen_launch_grid: pc = %u\n", pc);
#ifdef HAVE_OPENCL
if (!kernel->code_bo) {
void *p;
struct r600_bytecode *bc = &kernel->bc;