Re: [Mesa-dev] [RFC] compiler: Move double_inputs to gl_program::DualSlotInputs

2018-08-31 Thread Alejandro PiƱeiro
As right now piglit only have one ARB_gl_spirv test with double inputs, and Im not really sure if intel CI already runs piglit with spirv-tools available, I tested this patch with my local piglit, that includes all the va64 tests converted to SPIR-V (that as some already know/complained about,

[Mesa-dev] [RFC] compiler: Move double_inputs to gl_program::DualSlotInputs

2018-08-30 Thread Jason Ekstrand
Previously, we had two field in shader_info: double_inputs_read and double_inputs. Presumably, the one was for all double inputs that are read and the other is all that exist. However, because nir_gather_info regenerates these two values, there is a possibility, if a variable gets deleted, that