[Mesa-dev] [PATCH v2 00/15] ac/surface, radv: use shared surface computation code

Emil Velikov emil.l.velikov at gmail.com
Sun May 21 16:23:12 UTC 2017


Hi Nicolai,

On 18 May 2017 at 10:53, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> Hi all,
>
> This is v2 of the second half of a series I sent earlier, to move
> radv to a shared code base for surface computations. I integrated
> patches by Dave that should fix radv issues. The series is also at
> https://cgit.freedesktop.org/~nh/mesa/log/?h=ac_surface

Afaict the series introduces a amdgpu dependency for the r600 driver.
Quick look suggests that r600 requires ac (via the following) only
when opencl is built:
ac_elf_read
ac_shader_binary_config_start
ac_shader_binary_read_config

Some ideas which come to mind:
 - drop opencl parts from r600
 - add amdgpu dependency to r600
 - separate amdgpu parts - be that separate static library or add a
bunch of iffdef's in the code

Feel free to pick whichever you prefer.

-Emil


More information about the mesa-dev mailing list