diff options
author | Rob Clark <[email protected]> | 2019-05-06 16:02:19 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-05-07 07:26:00 -0700 |
commit | 9403184ddd002f11f30a0eab0f98f9545810b513 (patch) | |
tree | 4d18f9fad89e49dacb67a77fa975d8937321d218 /src/freedreno/vulkan/tu_shader.c | |
parent | 23e7a34466c448c4c7c9a2c2e4d200dedf2584f7 (diff) |
freedreno/ir3: move immediates to const_state
They are really part of the constant state, and it will moving things
from ir3_shader_variant to ir3_shader if we combine them.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/vulkan/tu_shader.c')
-rw-r--r-- | src/freedreno/vulkan/tu_shader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/tu_shader.c b/src/freedreno/vulkan/tu_shader.c index c2fdff9953e..62f8f91c7f3 100644 --- a/src/freedreno/vulkan/tu_shader.c +++ b/src/freedreno/vulkan/tu_shader.c @@ -196,8 +196,8 @@ tu_shader_destroy(struct tu_device *dev, for (uint32_t i = 0; i < 1 + shader->has_binning_pass; i++) { if (shader->variants[i].ir) ir3_destroy(shader->variants[i].ir); - if (shader->variants[i].immediates) - free(shader->variants[i].immediates); + if (shader->variants[i].const_state.immediates) + free(shader->variants[i].const_state.immediates); } if (shader->binary) |