diff options
author | Eric Anholt <[email protected]> | 2016-07-11 10:55:18 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-07-12 17:42:40 -0700 |
commit | ab1d40b84a9812d73411f3499274a6cbf3f25373 (patch) | |
tree | 8d2ab8a70cf7b29e25d6d76ed9232081d6ebf6d8 /src/gallium/drivers/vc4/vc4_program.c | |
parent | 05bcd9dd960d5658801ab35d429ba9778f67cad0 (diff) |
vc4: Add a flag in the screen to track control flow support.
For now it's still always false, but I need it in place for kernel
backwards compat support as I extend the backend for control flow.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_program.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_program.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 0a231b2f6e8..dec14453203 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -1765,6 +1765,7 @@ vc4_shader_ntq(struct vc4_context *vc4, enum qstage stage, { struct vc4_compile *c = qir_compile_init(); + c->vc4 = vc4; c->stage = stage; c->shader_state = &key->shader_state->base; c->program_id = key->shader_state->program_id; |