mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 16:28:08 +02:00
gallivm: Add lp_descriptor struct
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22828>
This commit is contained in:
parent
0ab04247dc
commit
e11e8289dd
1 changed files with 15 additions and 0 deletions
|
|
@ -188,5 +188,20 @@ void
|
|||
lp_build_jit_fill_sampler_dynamic_state(struct lp_sampler_dynamic_state *state);
|
||||
void
|
||||
lp_build_jit_fill_image_dynamic_state(struct lp_sampler_dynamic_state *state);
|
||||
|
||||
union lp_descriptor {
|
||||
struct {
|
||||
struct lp_jit_texture texture;
|
||||
struct lp_jit_sampler sampler;
|
||||
void *sample_functions;
|
||||
uint32_t sampler_index;
|
||||
};
|
||||
struct {
|
||||
struct lp_jit_image image;
|
||||
void *image_functions;
|
||||
};
|
||||
struct lp_jit_buffer buffer;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue