[Mesa-dev] [PATCH v2] glsl/linker: Allow unused in blocks which are not declated on previous stage

2018-08-23 Thread vadym.shovkoplias
From Section 4.3.4 (Inputs) of the GLSL 1.50 spec: "Only the input variables that are actually read need to be written by the previous stage; it is allowed to have superfluous declarations of input variables." Fixes: * interstage-multiple-shader-objects.shader_test v2:

[Mesa-dev] [PATCH v2] glsl/linker: Allow unused in blocks which are not declated on previous stage

2018-08-22 Thread vadym.shovkoplias
From Section 4.3.4 (Inputs) of the GLSL 1.50 spec: "Only the input variables that are actually read need to be written by the previous stage; it is allowed to have superfluous declarations of input variables." Fixes: * interstage-multiple-shader-objects.shader_test v2:

[Mesa-dev] [PATCH] glsl/linker: Allow unused in blocks which are not declated on previous stage

2018-08-20 Thread vadym.shovkoplias
From Section 4.3.4 (Inputs) of the GLSL 1.50 spec: "Only the input variables that are actually read need to be written by the previous stage; it is allowed to have superfluous declarations of input variables." Fixes: * interstage-multiple-shader-objects.shader_test Bugzilla:

[Mesa-dev] [PATCH v2] drirc: Allow extension midshader for Metro Redux

2018-08-06 Thread vadym.shovkoplias
This fixes both Metro 2033 Redux and Metro Last Light Redux Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99730 Signed-off-by: Eero Tamminen Signed-off-by: Vadym Shovkoplias --- src/util/drirc | 4 1 file changed, 4 insertions(+) diff --git a/src/util/drirc b/src/util/drirc

[Mesa-dev] [PATCH] drirc: Allow extension midshader for Metro Redux

2018-08-06 Thread vadym.shovkoplias
This fixes both Metro 2033 Redux and Metro Last Light Redux Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99730 Signed-off-by: Eero Tamminen Signed-off-by: Vadym Shovkoplias --- src/util/drirc | 5 + 1 file changed, 5 insertions(+) diff --git a/src/util/drirc b/src/util/drirc

[Mesa-dev] [PATCH] glsl: skip mul by zero opt for floating point expression

2018-07-02 Thread vadym.shovkoplias
From: Vadym Shovkoplias One of the operands can be NaN and multiplication by zero should also result to NaN value. E.g: float Temp = 0.0; void main() { Temp = log2(Temp); Temp = Temp * 0.0; isnan(Temp); ... } here Temp should be NaN and isnan() should return

[Mesa-dev] [PATCH] i965: Disable guardband clipping on SandyBridge for odd dimensions

2018-05-24 Thread vadym.shovkoplias
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104388 Signed-off-by: Andriy Khulap --- src/mesa/drivers/dri/i965/genX_state_upload.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c

[Mesa-dev] [PATCH] i965: Disable guardband clipping on SandyBridge for odd dimensions

2018-05-24 Thread vadym.shovkoplias
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104388 Signed-off-by: Andriy Khulap --- src/mesa/drivers/dri/i965/genX_state_upload.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c

[Mesa-dev] [PATCH] nir/lower_vec_to_movs: Don't coalesce the mmove when src and dest are the same reg

2018-03-22 Thread vadym.shovkoplias
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105440 Fixes: 2458ea95c56 "nir/lower_vec_to_movs: Coalesce movs on-the-fly when possible" Signed-off-by: Andriy Khulap Signed-off-by: Vadym Shovkoplias ---