mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
tests: do not attempt to run GLSL tests without buffer tex support
This commit is contained in:
parent
0cb763a10a
commit
f12bc29d6d
@ -45,6 +45,9 @@ def run_glsl_test(gsg, body, preamble="", inputs={}, version=430):
|
||||
if not gsg.supports_compute_shaders or not gsg.supports_glsl:
|
||||
pytest.skip("compute shaders not supported")
|
||||
|
||||
if not gsg.supports_buffer_texture:
|
||||
pytest.skip("buffer textures not supported")
|
||||
|
||||
__tracebackhide__ = True
|
||||
|
||||
preamble = preamble.strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user