[Mesa-dev] [PATCH 01/17] glsl/nir: add new num_packed_components field

Kenneth Graunke kenneth at whitecape.org
Thu Jul 7 16:58:56 UTC 2016


On Thursday, July 7, 2016 11:58:43 AM PDT Timothy Arceri wrote:
> This will be used to store the total number of components used at this location
> when packing via ARB_enhanced_layouts.
> ---
>  src/compiler/glsl/glsl_to_nir.cpp   |  1 +
>  src/compiler/glsl/ir.h              |  5 +++
>  src/compiler/glsl/link_varyings.cpp | 74 ++++++++++++++++++++++++++++++++++++-
>  src/compiler/glsl/linker.cpp        |  2 +
>  src/compiler/glsl/linker.h          |  4 ++
>  src/compiler/nir/nir.h              |  5 +++
>  6 files changed, 89 insertions(+), 2 deletions(-)

I still hate this field.  I'm going to try and come up with an alternate
solution.  I'll keep you posted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160707/bf182f66/attachment.sig>


More information about the mesa-dev mailing list