Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8358160

Cleanup: Remove D3D12 Shader compilation warnings

XMLWordPrintable

    • generic
    • windows

      When compiling JSL shaders to HLSL6, following warning is emitted whenever a paint() function is used (example):
      (...)\jfx-sandbox\rt\modules\javafx.graphics\build\gensrc\jsl-prism\com\sun\prism\d3d12\hlsl6\Solid_LinearGradient_REFLECT.hlsl:81:15: warning: implicit truncation of vector type [-Wconversion]
      color = paint(pixcoord) * jsl_vertexColor;

      Above warning does not necessarily affect the shader code or compilation, but should be fixed regardless during cleanup.

            lkostyra Lukasz Kostyra
            lkostyra Lukasz Kostyra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: