diff options
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/vega/shaders_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/shaders_cache.c b/src/gallium/state_trackers/vega/shaders_cache.c index 70d860ddc8e..dac1a7406c6 100644 --- a/src/gallium/state_trackers/vega/shaders_cache.c +++ b/src/gallium/state_trackers/vega/shaders_cache.c @@ -441,6 +441,7 @@ struct vg_shader * shader_create_from_text(struct pipe_context *pipe, type == PIPE_SHADER_FRAGMENT); state.tokens = tokens; + memset(&state.stream_output, 0, sizeof(state.stream_output)); shader->type = type; shader->tokens = tokens; |