diff options
author | Jordan Justen <[email protected]> | 2018-02-28 17:58:02 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2018-07-09 23:02:33 -0700 |
commit | 36dd15f8b337e6a864d736ba502b8aa3d0ae6e4f (patch) | |
tree | 7b5ffb0bf1941b8c348f8bb04d1cfd3caffa434d /src/mesa/drivers/dri/i965/brw_gs.h | |
parent | 65f2014740eb26c1b740dab435b9964e4bdb1164 (diff) |
i965: Add brw_populate_default_key
We will need to populate the default key for ARB_get_program_binary to
allow us to retrieve the default gen program to store in the program
binary.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h index 537a41679df..cff994a9323 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.h +++ b/src/mesa/drivers/dri/i965/brw_gs.h @@ -40,6 +40,10 @@ brw_upload_gs_prog(struct brw_context *brw); void brw_gs_populate_key(struct brw_context *brw, struct brw_gs_prog_key *key); +void +brw_gs_populate_default_key(const struct gen_device_info *devinfo, + struct brw_gs_prog_key *key, + struct gl_program *prog); #ifdef __cplusplus } /* extern "C" */ |