Skip to content
Snippets Groups Projects
  1. Jun 05, 2017
  2. Mar 15, 2017
  3. Dec 10, 2016
  4. Aug 03, 2016
    • John Kessenich's avatar
      Front-end: Implement 2nd task of issue #400; precision of result and operation. · f6640761
      John Kessenich authored
      From the ES spec + Bugzilla 15931 and GL_KHR_vulkan_glsl:
      - Update precision qualifiers for all built-in function prototypes.
      - Implement the new algorithm used to distinguish built-in function
        operation precisions from result precisions.
      Also add tracking of separate result and operation precisions, and
      use that in generating SPIR-V.
      (SPIR-V cares about precision of operation, while the front-end
      cares about precision of result, for propagation.)
      f6640761
  5. Jun 30, 2016
  6. Jun 15, 2016
  7. May 09, 2016
    • scygan's avatar
      Use proper precision qualifiers for bitfield build-in functions on ES · 9c56d84b
      scygan authored
      This change causes ES shaders to precision qualifiers for build-in functions as defined in ESSL spec. It especially mattersfor functions that are defined as highp or taking a highp.
      
      Fixes vulkanCTS dEQP-VK.glsl.builtin.function.integer.bitfieldreverse.*, where bitfieldReverse() retval was wrongly marked as RelaxedPrecision.
      
      Note: floatBitsToInt/floatBitsToUInt precision is also broken, but in different way - so it is not addressed here.
      9c56d84b
  8. May 04, 2016
    • John Kessenich's avatar
      Parser: Precise: Recognize 'precise', tag types, and do related semantic checking. · 17f07864
      John Kessenich authored
      This partly overlaps pull request #222, we have divided the work on this one.
      17f07864
    • John Kessenich's avatar
      Correct precision qualification on built-in functions. · af459216
      John Kessenich authored
      This is a replacement commit for pull request #238.
      
      This is a design change, followed by implementation change that
      A) fixes the changes caused by the design change, and
      B) fixes some cases that were originally incorrect.
      
      The design change is to not give built-in functions default precision qualification.
      This is to allow the rule that the precision of some built-in functions adopt their
      precision qualification from the calling arguments.  This is A above.
      
      A consequence of this design change is that all built-ins that are supposed to have
      an explicit precision qualifier must now be declared that way.  So, a lot more
      built-in declarations now have precision qualifiers, just to keep things the same.
      This is B above.
      af459216
  9. Dec 11, 2015
  10. Dec 07, 2015
  11. Oct 05, 2015
  12. Oct 01, 2015
  13. Aug 22, 2015
  14. Aug 19, 2015
    • John Kessenich's avatar
      Backward incompatible: Turn on PureOperatorBuiltins: use only enum-based... · fc51d284
      John Kessenich authored
      Backward incompatible: Turn on PureOperatorBuiltins: use only enum-based built-in functions in the AST.
      
      If this breaks your AST consumer, best is to modify it to test
      against the enum values instead of doing string comparisons on
      built-in function names.  This is the reason the change was made.
      
      If you need the old behavior, you should be able to get it back by changing
      PureOperatorBuiltins to be false instead of true.  This path will work for
      a while, but is marked deprecated.
      
      Also, the old behavior is tagged as release 2.4.
      fc51d284
    • John Kessenich's avatar
      Add more TOperator: fma/frexp/ldexp,... · e88217b7
      John Kessenich authored
      Add more TOperator: fma/frexp/ldexp, AddCarry/SubBorrow/MulExtended/Bit*/Find*, (un)pack4x8/2x32, ftransform.
      
      Also corrects some existing ones missing the "Op" part of their name.
      e88217b7
  15. Aug 17, 2015
  16. Aug 16, 2015
  17. Aug 10, 2015
  18. Jul 16, 2015
  19. Jul 15, 2015
  20. Jul 07, 2015
  21. Jun 19, 2015
  22. Jun 15, 2015
  23. Jun 12, 2015
  24. May 18, 2015
  25. May 11, 2015
  26. Apr 29, 2015
  27. Oct 28, 2014
  28. Aug 14, 2014
  29. Aug 13, 2014
  30. Aug 12, 2014
Loading