diff options
author | Kenneth Graunke <[email protected]> | 2018-07-24 16:20:02 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | 77b92198188e031bb355c896fe522e02e59cfe31 (patch) | |
tree | 7754a90a4cbbe0ad43a5d3e6339b0b0d123e1e73 /src/gallium/drivers/iris/iris_context.h | |
parent | fd5ed7b46bb256ea6e1d0754c959fbf12ac7e39f (diff) |
iris: unbind compiled shaders if none are present
avoids the case where you have a stale compiled shader bound, but no
uncompiled shader bound, which is not just boats, but an entire marina
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index dd77fda2d59..98af24cf223 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -416,6 +416,8 @@ void iris_print_program_cache(struct iris_context *ice); bool iris_bind_cached_shader(struct iris_context *ice, enum iris_program_cache_id cache_id, const void *key); +void iris_unbind_shader(struct iris_context *ice, + enum iris_program_cache_id cache_id); void iris_upload_and_bind_shader(struct iris_context *ice, enum iris_program_cache_id cache_id, const void *key, |