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.haeh...@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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev



--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to