Re: [Mesa-dev] [PATCH v2 16/21] nir/linker: Add nir_build_program_resource_list()

2018-05-17 Thread Timothy Arceri
On 15/05/18 01:05, Alejandro Piñeiro wrote: On 14/05/18 01:26, Timothy Arceri wrote: On 12/05/18 19:40, Alejandro Piñeiro wrote: From: Eduardo Lima Mitev This function is equivalent to the linker.cpp build_program_resource_list() but will extract the resources from NIR

Re: [Mesa-dev] [PATCH v2 16/21] nir/linker: Add nir_build_program_resource_list()

2018-05-14 Thread Alejandro Piñeiro
On 14/05/18 01:26, Timothy Arceri wrote: > On 12/05/18 19:40, Alejandro Piñeiro wrote: >> From: Eduardo Lima Mitev >> >> This function is equivalent to the linker.cpp >> build_program_resource_list() but will extract the resources from NIR >> shaders instead. >> >> For now, only

Re: [Mesa-dev] [PATCH v2 16/21] nir/linker: Add nir_build_program_resource_list()

2018-05-13 Thread Timothy Arceri
On 12/05/18 19:40, Alejandro Piñeiro wrote: From: Eduardo Lima Mitev This function is equivalent to the linker.cpp build_program_resource_list() but will extract the resources from NIR shaders instead. For now, only uniforms and program inputs are implemented. v2: move from

[Mesa-dev] [PATCH v2 16/21] nir/linker: Add nir_build_program_resource_list()

2018-05-12 Thread Alejandro Piñeiro
From: Eduardo Lima Mitev This function is equivalent to the linker.cpp build_program_resource_list() but will extract the resources from NIR shaders instead. For now, only uniforms and program inputs are implemented. v2: move from compiler/nir to compiler/glsl (Timothy