11 Commits

Author SHA1 Message Date
rdb
0220a43ce0 shader: Fix support for #pragma include <example.glsl> in GLSL 2022-11-09 17:20:11 +01:00
rdb
979f194f49 tests: Load either 120 or 150 GLSL shaders depending on capabilities
Addresses part of #804
2022-10-29 18:46:59 +02:00
rdb
3479c6eee2 tests: Add unit tests for GLSL usampler/isamspler/uimage/iimage 2021-01-17 12:13:59 +01:00
Mitchell Stokes
369dccbab9 tests: Add tests around compiling GLSL and Cg shaders (#622) 2019-08-01 12:32:06 +02:00
rdb
69decc17ff tests: raise GLSL version from 1.30 to 1.50 for compute shader 2018-12-23 22:28:52 +01:00
Sam Edwards
3b7b9cd18c tests: Enhance GLSL test
- Don't assume GLSL 4.30 is available just because the driver
  supports compute shaders. Drivers before OpenGL 4.3 may still
  offer the extension.

- Use GLSL 1.30 by default, and turn on additional features
  using extensions. Skip any tests requiring extensions that
  aren't supported by the driver.

- Unsigned literal ints should have a 'u' suffix.

- Clean up a few dead Python expressions
2018-10-20 17:55:46 -06:00
rdb
f12bc29d6d tests: do not attempt to run GLSL tests without buffer tex support 2018-07-26 22:58:15 +02:00
rdb
06539f5c66 glsl: support passing uint variables to shader 2018-07-17 22:32:34 +02:00
rdb
7c8426a79f tests: fix int overflow error with GLSL shader test on some drivers 2018-07-08 22:28:52 +02:00
rdb
c5dd683366 tests: add unit test for writing to and extracting buffer textures 2018-07-04 20:55:07 +02:00
rdb
97eb734765 tests: add test cases for GLSL shaders 2017-12-24 20:46:53 +01:00