Re: [Mesa-dev] [PATCH] swr: Handle indirect indices in GS

2018-01-10 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On Jan 9, 2018, at 11:50 AM, George Kyriazis > wrote: > > BuilderSWR::swr_gs_llvm_fetch_input() (and consequently > swr_gs_llvm_fetch_input()), did not handle the case where > is_vindex_indirect or is_aindex_direct is set. > > Implement it, using the code in dra

[Mesa-dev] [PATCH] swr: Handle indirect indices in GS

2018-01-09 Thread George Kyriazis
BuilderSWR::swr_gs_llvm_fetch_input() (and consequently swr_gs_llvm_fetch_input()), did not handle the case where is_vindex_indirect or is_aindex_direct is set. Implement it, using the code in draw_llvm.c as a guideline. Fixes the following piglit tests: dynamic_input_array_index (crash) gs-inpu