1. 18 Sep, 2019 1 commit
  2. 16 Sep, 2019 2 commits
    • Merge pull request #1894 from ShchchowAMD/master · 8b8adf79
      John Kessenich authored
      Add flags for local size values ( compute shader )
    • Add flags for local size values ( compute shader ) · 352e668a
      Chow authored
      Purpose :
      
      According to GLSL SPEC 4.6 ( 4.4.1.4 Compute Shader Inputs), for compute shader input qualifiers, we should declare such qualifiers with same values in the same shader (local_size_x, y and z).
      "If such a layout qualifier is declared more than once in the same shader, all those declarations must set the same set of local work-group sizes and set them to the same values; otherwise a compile-time error results."
      
      Why this fix:
      
      If we manually set "local_size_x = 1" and directly following a declaration like "local_size_x = 2", this would not be detected. That is because currently we treat all the '1' as default value and could not restrictly detect whether those are default values.
      
      Test case:
      ......
      layout(local_size_x=1) in;
      layout(local_size_x=2) in;
      ......
      
      So I add test cases for this fix:
      1. set local_size_y = 1 => success
      2. set local_size_y = 2 => error
      3. set local_size_y = 1 => success
  3. 12 Sep, 2019 1 commit
  4. 11 Sep, 2019 2 commits
  5. 10 Sep, 2019 1 commit
  6. 09 Sep, 2019 1 commit
  7. 05 Sep, 2019 2 commits
  8. 04 Sep, 2019 1 commit
  9. 03 Sep, 2019 1 commit
  10. 02 Sep, 2019 3 commits
  11. 30 Aug, 2019 2 commits
  12. 29 Aug, 2019 1 commit
  13. 28 Aug, 2019 5 commits
  14. 27 Aug, 2019 3 commits
  15. 26 Aug, 2019 4 commits
  16. 23 Aug, 2019 2 commits
  17. 22 Aug, 2019 5 commits
  18. 21 Aug, 2019 3 commits