Use a separate MTLSamplerState for each texture

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P3
    • internal
    • Affects Version/s: internal
    • Component/s: javafx
    • Environment:

      fx-sandbox:metal branch

    • generic
    • os_x

      Currently the generated of Fragment functions use same sampler for all textures in a fragment function.
      But there are several fragment functions that use more than one texture and the sampler can be different for each texture.
      We should support setting separate samplers for each texture.
      There are two possible approaches.
      1. Set MTLSamplerState for each texture through the uniform struct.
      OR
      2. Pass the MTLSamplerState as attributed fragment function argument.

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

              Created:
              Updated:
              Resolved: