diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-11 01:03:01 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-11 01:04:52 -0300 |
commit | 835790809954bb5962f8893320b8f5c3ad82d6a0 (patch) | |
tree | 30e258936c1282f31143f465f1c310563dd9acfa /src/common/zstd_compression.cpp | |
parent | 22e825a3bc0d9bfb5f8c29a50724c2887014dc02 (diff) |
gl_shader_manager: Fix interaction between graphics and compute
After a compute shader was set to the pipeline, no graphics shader was
invoked again. To address this use glUseProgram to bind compute shaders
(without state tracking) and call glUseProgram(0) when transitioning out
of it back to the graphics pipeline.
Diffstat (limited to 'src/common/zstd_compression.cpp')
0 files changed, 0 insertions, 0 deletions