turnip: Fix truncation of CS shader iovas to 32 bits.

This was invalid, and makes VK break consistently with the
msm-next-pgtbables branch.

Fixes: 13525a9c70 ("turnip: pipeline program state refactor")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6592>
(cherry picked from commit 329c317287)
This commit is contained in:
Eric Anholt 2020-09-03 10:30:31 -07:00 committed by Dylan Baker
parent fc5ea646ab
commit 102fed30b9
2 changed files with 2 additions and 2 deletions

View file

@ -760,7 +760,7 @@
"description": "turnip: Fix truncation of CS shader iovas to 32 bits.",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "13525a9c706bc3b5aef2b9bc649644f2e3607f31"
},

View file

@ -470,7 +470,7 @@ tu6_emit_xs_config(struct tu_cs *cs,
static void
tu6_emit_cs_config(struct tu_cs *cs, const struct tu_shader *shader,
const struct ir3_shader_variant *v,
uint32_t binary_iova)
uint64_t binary_iova)
{
tu_cs_emit_regs(cs, A6XX_HLSQ_INVALIDATE_CMD(
.cs_state = true,