[Mesa-dev] Initial radeonsi NIR tess support

Nicolai Hähnle nhaehnle at gmail.com
Tue Dec 12 10:12:47 UTC 2017


On 11.12.2017 03:43, Timothy Arceri wrote:
> There are is still more work to be done but this gets us passing
> a bunch of piglit tests without any lock ups (although a few
> test do hang for a while).

Good stuff! I've sent a bunch of comments, although many are either easy 
to fix or (in the case of the comments on refactored/moved code) should 
probably be in separate commits.

Patches 1, 2, 4-12, 14 (with a trivial change), 15-19:

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

... with the caveat that some of the patches will probably be 
(trivially) affected by the following:

Considering patches 20 & 21: on second thought, I believe the type 
argument in the ac_shader_abi callbacks should just be removed. It's 
true that radeonsi uses it, but it might as well just use ctx->ac.i32 in 
the relevant places.

Furthermore, *if* a type argument is required after all, it should 
probably be

   get_def_type(ctx, &instr->dest.ssa)

instead of a nir2llvm of the variable type. But again, it's probably 
better to just remove the type argument and treat the loads as typeless.

Cheers,
Nicolai



> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list