[Mesa-dev] [PATCH] radeonsi: handle big number of immediates dynamically
Marek Olšák
maraeo at gmail.com
Wed Jan 11 14:16:43 UTC 2017
On Wed, Jan 11, 2017 at 1:45 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
>
>
> On 01/11/2017 12:47 PM, Marek Olšák wrote:
>>
>> We don't have to use lp_build_tgsi_soa_context::immediates at all just
>> as we don't use lp_build_tgsi_soa_context::temps.
>
>
> You want to always allocate the array of immediates dynamically? And use
> ctx->imms/ctx->imms_count like what we currently do for temps?
Yes.
Eventually we can get rid of si_shader_context::soa and replace it
with its parent structure - bld_base, because we don't use much from soa.
Marek
More information about the mesa-dev
mailing list