Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8302382 Implement shape.setFill
  3. JDK-8308826

Change fragment shaders to use screen space coordinates

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • internal
    • internal
    • javafx
    • fx-sandbox:metal branch

    • generic
    • os_x

      Several fragment shaders require screen space coordinates of a the input fragment for mathematical calculations.
      In HLSL shaders, we use VPOS sematic to access the value.
      In GLSL shaders, we compute this value.

      In MSL, the [[position]] attribute input to fragment shader contains screen space coordinates at xy.
      We need to replace all pixcoord instances with in.position.xy

            arapte Ambarish Rapte
            arapte Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: