[Mesa-dev] [PATCH] changes to get rid of ir_variable
Tapani Pälli
tapani.palli at intel.com
Thu Oct 8 22:57:17 PDT 2015
Hi;
Here's a proposal to start creating gl_shader_variable structs to
program resource list instead of maintaining a whole ir_variable. This
is done to strip dependency on GLSL IR from program resource queries.
It also may give possibility to free IR (or NIR) after linking, maybe
some more fields are required for backend (?)
Further changes are required in SSBO queries to not iterate IR, this
could be done as the next step. I posted this WIP to see if people think
there would be nicer alternatives to this.
Thanks;
Tapani Pälli (1):
mesa: use gl_shader_variable in program resource list WIP
src/glsl/linker.cpp | 42 ++++++++++++++++++++++++++-----
src/mesa/main/mtypes.h | 56 ++++++++++++++++++++++++++++++++++++++++++
src/mesa/main/shader_query.cpp | 36 +++++++++++++--------------
3 files changed, 110 insertions(+), 24 deletions(-)
--
2.4.3
More information about the mesa-dev
mailing list