Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-81070

Generated Shaders Violate OGLES 3.2 standard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15
    • 5.14.0
    • Quick: 3D
    • None
    • All
    • 7fcc78866519deda05394feafccff0e5c4989276 816072a62090d211f600710897bf04cd46257f8a

    Description

      The generated fragment shader for a custom materials contains unused output variables which causes errors during compilation.

      //Shader name custom material pipeline- qrc:/shaders/globe.frag;hasLighting=true;lightCount=0;specularModel=Default;;diffuseMap={;;;;;};diffuseMap_swizzle={;;;;};emissiveMap={;;;;;};emissiveMap_swizzle={;;;;};specularMap={;;;;;};specularMap_swizzle={;;;;};opacityMap={;;;;;};opacityMap_swizzle={;;;;};bumpMap={;;;;;};bumpMap_swizzle={;;;;};specularAmountMap={;;;;;};specularAmountMap_swizzle={;;;;};normalMap={;;;;;};normalMap_swizzle={;;;;};displacementMap={;;;;;};displacementMap_swizzle={;;;;};translucencyMap={;;;;;};translucencyMap_swizzle={;;;;};lightmapIndirect={;;;;;};lightmapIndirect_swizzle={;;;;};lightmapRadiosity={;;;;;};lightmapRadiosity_swizzle={;;;;};lightmapShadow={;;;;;};lightmapShadow_swizzle={;;;;};roughnessMap={;;;;;};roughnessMap_swizzle={;;;;};baseColorMap={;;;;;};baseColorMap_swizzle={;;;;};metalnessMap={;;;;;};metalnessMap_swizzle={;;;;};occlusionMap={;;;;;};occlusionMap_swizzle={;;;;};tessellationMode={noTessellation=true;;;};alphaMode=Opaque;

      The issues is the same as in https://bugreports.qt.io/browse/QT3DS-3173.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              anmaatta Antti Määttä
              nvelinov Nikola Velinov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes