mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
lavapipe: add a device member to rendering_state
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21866>
This commit is contained in:
parent
b7197451d0
commit
d5857240bb
1 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ struct lvp_render_attachment {
|
|||
|
||||
struct rendering_state {
|
||||
struct pipe_context *pctx;
|
||||
struct lvp_device *device; //for uniform inlining only
|
||||
struct u_upload_mgr *uploader;
|
||||
struct cso_context *cso;
|
||||
|
||||
|
|
@ -4403,6 +4404,7 @@ VkResult lvp_execute_cmds(struct lvp_device *device,
|
|||
struct rendering_state *state = queue->state;
|
||||
memset(state, 0, sizeof(*state));
|
||||
state->pctx = queue->ctx;
|
||||
state->device = device;
|
||||
state->uploader = queue->uploader;
|
||||
state->cso = queue->cso;
|
||||
state->blend_dirty = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue