mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 11:10:10 +01:00
i965: Add missing BRW_NEW_CS_PROG_DATA to compute constant atom.
CACHE_NEW_CS_PROG hasn't existed in quite a long time...the old comment was there, but not the actual bit. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
f2b9b0c730
commit
ce6c80ebbb
1 changed files with 2 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ gen7_upload_cs_push_constants(struct brw_context *brw)
|
||||||
(struct brw_compute_program *) brw->compute_program;
|
(struct brw_compute_program *) brw->compute_program;
|
||||||
|
|
||||||
if (cp) {
|
if (cp) {
|
||||||
/* CACHE_NEW_CS_PROG */
|
/* BRW_NEW_CS_PROG_DATA */
|
||||||
struct brw_cs_prog_data *cs_prog_data = brw->cs.prog_data;
|
struct brw_cs_prog_data *cs_prog_data = brw->cs.prog_data;
|
||||||
|
|
||||||
_mesa_shader_write_subroutine_indices(&brw->ctx, MESA_SHADER_COMPUTE);
|
_mesa_shader_write_subroutine_indices(&brw->ctx, MESA_SHADER_COMPUTE);
|
||||||
|
|
@ -299,6 +299,7 @@ const struct brw_tracked_state gen7_cs_push_constants = {
|
||||||
.brw = BRW_NEW_BATCH |
|
.brw = BRW_NEW_BATCH |
|
||||||
BRW_NEW_BLORP |
|
BRW_NEW_BLORP |
|
||||||
BRW_NEW_COMPUTE_PROGRAM |
|
BRW_NEW_COMPUTE_PROGRAM |
|
||||||
|
BRW_NEW_CS_PROG_DATA |
|
||||||
BRW_NEW_PUSH_CONSTANT_ALLOCATION,
|
BRW_NEW_PUSH_CONSTANT_ALLOCATION,
|
||||||
},
|
},
|
||||||
.emit = gen7_upload_cs_push_constants,
|
.emit = gen7_upload_cs_push_constants,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue