[Mesa-dev] [PATCH] radeonsi: handle big number of immediates dynamically

Marek Olšák maraeo at gmail.com
Wed Jan 11 15:05:15 UTC 2017


On Wed, Jan 11, 2017 at 3:47 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
>
>
> On 01/11/2017 03:16 PM, Marek Olšák wrote:
>>
>> 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.
>
>
> Ok.
>
>>
>> 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.
>
>
> That would require to move soa::addr and soa::outputs in si_shader_context
> (after a quick look at the code).

Yeah that's the plan.

Marek


More information about the mesa-dev mailing list