[Mesa-dev] [PATCH 1/5] nv50: implement a basic compute support

Ilia Mirkin imirkin at alum.mit.edu
Thu Nov 12 16:15:19 PST 2015


On Thu, Nov 12, 2015 at 7:04 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> +static bool
> +nv50_compute_validate_program(struct nv50_context *nv50)
> +{
> +   struct nv50_program *prog = nv50->compprog;
> +
> +   if (prog->mem)
> +      return true;
> +
> +   if (!prog->translated) {
> +      prog->translated = nv50_program_translate(
> +         prog, nv50->screen->base.device->chipset, NULL);

Please pass in &nv50->debug instead of NULL so that we get shader
compiler reports via debug info.

  -ilia


More information about the mesa-dev mailing list