iris: sampler states

This commit is contained in:
Kenneth Graunke
2018-01-11 22:18:54 -08:00
parent 60208d12b4
commit 7b80f4587d
4 changed files with 63 additions and 22 deletions

View File

@@ -78,6 +78,8 @@ struct iris_context {
struct pipe_scissor_state scissors[IRIS_MAX_VIEWPORTS];
struct pipe_stencil_ref stencil_ref;
struct pipe_framebuffer_state framebuffer;
struct iris_sampler_state *samplers[MESA_SHADER_STAGES][IRIS_MAX_TEXTURE_SAMPLERS];
} state;
};