Re: [Mesa-dev] [PATCH] i965: Add var->location != -1 assertions.

2014-12-03 Thread Ian Romanick
Now that my patches that fix the problem have landed, Reviewed-by: Ian Romanick On 12/01/2014 01:44 PM, Kenneth Graunke wrote: > We shouldn't receive variables with invalid locations set - adding these > assertions should help catch problems before they cause crashes later. > > Inspired by simi

[Mesa-dev] [PATCH] i965: Add var->location != -1 assertions.

2014-12-01 Thread Kenneth Graunke
We shouldn't receive variables with invalid locations set - adding these assertions should help catch problems before they cause crashes later. Inspired by similar code in st_glsl_to_tgsi. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 1 + src/mesa/drivers/