Repository: flutter
Issue: Shader compilation error when installing an app on windows 8
Labels: tool,engine,platform-windows,a: desktop,a: build,e: OS-version specific,a: release,P2,team-windows,triaged-windows

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

How to make the app build from flutter work correctly on windows 8 ? I only created a simple app ,but it does not look good.

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Create a test app using flutter create testapp --platforms=windows
2. Build the app using flutter build windows
3. Copy the testapp\build\windows\runner\Release folder into my windows8 which version is 6.2 (internal version 9200)
4. Run this app in windows8

**Expected results:** <!-- what did you want to see? -->
It is ok on windows 10.
![runnormal](https://user-images.githubusercontent.com/293340/177729149-1e13dbdf-02af-4d0c-b4c2-305c207b6def.png)

**Actual results:** <!-- what did you see? -->
on windows 8:
![runerror](https://user-images.githubusercontent.com/293340/177727068-2d878cd4-5993-4f73-8752-e9e5f5d6d513.png)

I got the error logs on console window:
------------------------
```
   1    // Vertex SKSL
   2    uniform float4 sk_RTAdjust;uniform float3x3 ulocalMatrix_S0;in float2 in
Position;in half4 inColor;in float4 inCircleEdge;out float4 vinCircleEdge_S0;out
 half4 vinColor_S0;void main() {// Primitive Processor CircleGeometryProcessor
   3    vinCircleEdge_S0 = inCircleEdge;vinColor_S0 = inColor;float2 _tmp_0_inPo
sition = inPosition;float2 _tmp_1_inPosition = float3x2(ulocalMatrix_S0) * inPos
ition.xy1;
   4    sk_Position = _tmp_0_inPosition.xy01;}
   5    // Fragment SKSL
   6    in float4 vinCircleEdge_S0;in half4 vinColor_S0;out half4 sk_FragColor;
   7    void main() {// Stage 0, CircleGeometryProcessor
   8    float4 circleEdge;circleEdge = vinCircleEdge_S0;half4 outputColor_S0;out
putColor_S0 = vinColor_S0;float d = length(circleEdge.xy);half distanceToOuterEd
ge = half(circleEdge.z * (1.0 - d));half edgeAlpha = saturate(distanceToOuterEdg
e);half4 outputCoverage_S0 = half4(edgeAlpha);{ // Xfer Processor: Porter Duff
   9    sk_FragColor = outputColor_S0 * outputCoverage_S0;}}
  10    // Vertex GLSL
  11    #version 300 es
  12
  13    precision mediump float;
  14    precision mediump sampler2D;
  15    uniform highp vec4 sk_RTAdjust;
  16    uniform highp mat3 ulocalMatrix_S0;
  17    in highp vec2 inPosition;
  18    in mediump vec4 inColor;
  19    in highp vec4 inCircleEdge;
  20    out highp vec4 vinCircleEdge_S0;
  21    out mediump vec4 vinColor_S0;
  22    void main() {
  23        vinCircleEdge_S0 = inCircleEdge;
  24        vinColor_S0 = inColor;
  25        highp vec2 _tmp_0_inPosition = inPosition;
  26        gl_Position = vec4(_tmp_0_inPosition, 0.0, 1.0);
  27        gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww
* sk_RTAdjust.yw, 0.0, gl_Position.w);
  28    }
  29
  30    // Fragment GLSL
  31    #version 300 es
  32
  33    precision mediump float;
  34    precision mediump sampler2D;
  35    out mediump vec4 sk_FragColor;
  36    in highp vec4 vinCircleEdge_S0;
  37    in mediump vec4 vinColor_S0;
  38    void main() {
  39        highp vec4 circleEdge;
  40        circleEdge = vinCircleEdge_S0;
  41        mediump vec4 outputColor_S0;
  42        outputColor_S0 = vinColor_S0;
  43        highp float d = length(circleEdge.xy);
  44        mediump float distanceToOuterEdge = circleEdge.z * (1.0 - d);
  45        mediump float edgeAlpha = clamp(distanceToOuterEdge, 0.0, 1.0);
  46        mediump vec4 outputCoverage_S0 = vec4(edgeAlpha);
  47        {
  48            sk_FragColor = outputColor_S0 * outputCoverage_S0;
  49        }
  50    }
  51
  52
Errors:
link failed but did not provide an info log
Shader compilation error
```
<details>
<summary>Code sample</summary>
this is my code:
[testapp.zip](https://github.com/flutter/flutter/files/9061768/testapp.zip)

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```dart
```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue. If there is a crash, please include
      the entirety of the crash log including the backtrace.
-->

```
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->