[Mesa-dev] [PATCH 44/46] glsl: fix locations of 2-dimensional varyings without varying packing

Kenneth Graunke kenneth at whitecape.org
Fri Jun 19 15:17:10 PDT 2015


On Wednesday, June 17, 2015 01:01:40 AM Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> ---
>  src/glsl/link_varyings.cpp | 37 ++++++++++++++++++++++++++++---------
>  1 file changed, 28 insertions(+), 9 deletions(-)
> 
> diff --git a/src/glsl/link_varyings.cpp b/src/glsl/link_varyings.cpp
> index 5fa9ddf..6bd8dba 100644
> --- a/src/glsl/link_varyings.cpp
> +++ b/src/glsl/link_varyings.cpp
> @@ -750,7 +750,9 @@ namespace {
>  class varying_matches
>  {
>  public:
> -   varying_matches(bool disable_varying_packing, bool consumer_is_fs);
> +   varying_matches(bool disable_varying_packing,
> +                   gl_shader_stage producer_type,
> +                   gl_shader_stage consumer_type);

Could we perhaps call these producer_stage and consumer-stage?

Either way,
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- 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: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150619/c2a19502/attachment.sig>


More information about the mesa-dev mailing list