Re: [Mesa-dev] [PATCH] tgsi: split tgsi_util_get_texture_coord_dim() function into two

2016-03-31 Thread Roland Scheidegger
Am 31.03.2016 um 03:06 schrieb Brian Paul: > It was kind of overloaded, returning two different things. Now get > the index of the shadow reference src register with a new > tgsi_util_get_shadow_ref_src_index() function. > > To verify the new code, I added some temp/debug code which looped >

Re: [Mesa-dev] [PATCH] tgsi: split tgsi_util_get_texture_coord_dim() function into two

2016-03-31 Thread Brian Paul
On 03/31/2016 07:02 AM, Marek Olšák wrote: On Thu, Mar 31, 2016 at 3:15 AM, Dave Airlie wrote: On 31 March 2016 at 11:06, Brian Paul wrote: It was kind of overloaded, returning two different things. Now get the index of the shadow reference src register

Re: [Mesa-dev] [PATCH] tgsi: split tgsi_util_get_texture_coord_dim() function into two

2016-03-31 Thread Marek Olšák
On Thu, Mar 31, 2016 at 3:15 AM, Dave Airlie wrote: > On 31 March 2016 at 11:06, Brian Paul wrote: >> It was kind of overloaded, returning two different things. Now get >> the index of the shadow reference src register with a new >>

Re: [Mesa-dev] [PATCH] tgsi: split tgsi_util_get_texture_coord_dim() function into two

2016-03-30 Thread Dave Airlie
On 31 March 2016 at 11:06, Brian Paul wrote: > It was kind of overloaded, returning two different things. Now get > the index of the shadow reference src register with a new > tgsi_util_get_shadow_ref_src_index() function. > > To verify the new code, I added some temp/debug

[Mesa-dev] [PATCH] tgsi: split tgsi_util_get_texture_coord_dim() function into two

2016-03-30 Thread Brian Paul
It was kind of overloaded, returning two different things. Now get the index of the shadow reference src register with a new tgsi_util_get_shadow_ref_src_index() function. To verify the new code, I added some temp/debug code which looped over all TGSI_TEXTURE_x values, calling the old function