[Mesa-dev] [PATCH 1/5] nv50: implement a basic compute support
Samuel Pitoiset
samuel.pitoiset at gmail.com
Thu Nov 12 16:16:12 PST 2015
On 11/13/2015 01:15 AM, Ilia Mirkin wrote:
> 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.
Ah right, I forgot that!.
>
> -ilia
>
More information about the mesa-dev
mailing list