[Mesa-dev] [PATCH 0/6] r600g: r600_shader.c small cleanups

Marek Olšák maraeo at gmail.com
Mon Feb 27 13:32:00 UTC 2017


All r600g commits should have the "r600g:" prefix.

Marek

On Sun, Feb 26, 2017 at 9:31 PM, Constantine Charlamov
<Hi-Angel at yandex.ru> wrote:
> Initially I was trying to implement for r600 optimization like in the d633e23192ef17207f4a6acd3009da3126aab395 commit for radeonsi, but failed because I need to learn some more about GPUs internals. For another time. Anyway, accidentally it turned into a small cleanup of r600_shader.c, here it is.
>
> Hi-Angel (6):
>   Get rid of trailing whitespace (trivial)
>   Rename i→chan_index
>   Replace bit-shifts and cycles with helpers from tgsi_exec.h
>   Rename tgsi_last_instruction → tgsi_last_channel
>   Get rid of tgsi_last_channel() wherever possible, rename lasti →
>     last_chan
>   Remove redudant comparisons
>
>  src/gallium/drivers/r600/r600_shader.c | 815 ++++++++++++++-------------------
>  1 file changed, 333 insertions(+), 482 deletions(-)
>
> --
> 2.11.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list