mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
gallium: fix incorrect types for shaders
This commit is contained in:
parent
df1744c043
commit
ba49fa39f3
2 changed files with 5 additions and 6 deletions
|
|
@ -58,9 +58,8 @@ struct blit_state
|
||||||
struct pipe_rasterizer_state rasterizer;
|
struct pipe_rasterizer_state rasterizer;
|
||||||
struct pipe_sampler_state sampler;
|
struct pipe_sampler_state sampler;
|
||||||
|
|
||||||
/*struct pipe_viewport_state viewport;*/
|
void *vs;
|
||||||
struct pipe_sampler_state *vs;
|
void *fs;
|
||||||
struct pipe_sampler_state *fs;
|
|
||||||
|
|
||||||
struct pipe_buffer *vbuf; /**< quad vertices */
|
struct pipe_buffer *vbuf; /**< quad vertices */
|
||||||
float vertices[4][2][4]; /**< vertex/texcoords for quad */
|
float vertices[4][2][4]; /**< vertex/texcoords for quad */
|
||||||
|
|
|
||||||
|
|
@ -61,9 +61,9 @@ struct gen_mipmap_state
|
||||||
struct pipe_depth_stencil_alpha_state depthstencil;
|
struct pipe_depth_stencil_alpha_state depthstencil;
|
||||||
struct pipe_rasterizer_state rasterizer;
|
struct pipe_rasterizer_state rasterizer;
|
||||||
struct pipe_sampler_state sampler;
|
struct pipe_sampler_state sampler;
|
||||||
/*struct pipe_viewport_state viewport;*/
|
|
||||||
struct pipe_sampler_state *vs;
|
void *vs;
|
||||||
struct pipe_sampler_state *fs;
|
void *fs;
|
||||||
|
|
||||||
struct pipe_buffer *vbuf; /**< quad vertices */
|
struct pipe_buffer *vbuf; /**< quad vertices */
|
||||||
float vertices[4][2][4]; /**< vertex/texcoords for quad */
|
float vertices[4][2][4]; /**< vertex/texcoords for quad */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue