mesa: set cs shader_info metadata directly

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Timothy Arceri
2016-10-19 12:09:09 +11:00
parent 4ca71a1175
commit 5a228c0aae
2 changed files with 3 additions and 14 deletions

View File

@@ -51,15 +51,6 @@ copy_shader_info(const struct gl_shader_program *shader_prog,
break;
}
case MESA_SHADER_COMPUTE: {
struct gl_compute_program *cp = (struct gl_compute_program *)sh->Program;
info->cs.local_size[0] = cp->LocalSize[0];
info->cs.local_size[1] = cp->LocalSize[1];
info->cs.local_size[2] = cp->LocalSize[2];
info->cs.shared_size = cp->SharedSize;
break;
}
default:
break; /* No stage-specific info */
}