Lines Matching refs:nstate
45 struct pipe_blend_state *nstate = CALLOC_STRUCT(pipe_blend_state); in noop_create_blend_state() local
47 if (nstate == NULL) { in noop_create_blend_state()
50 *nstate = *state; in noop_create_blend_state()
51 return nstate; in noop_create_blend_state()
57 struct pipe_depth_stencil_alpha_state *nstate = CALLOC_STRUCT(pipe_depth_stencil_alpha_state); in noop_create_dsa_state() local
59 if (nstate == NULL) { in noop_create_dsa_state()
62 *nstate = *state; in noop_create_dsa_state()
63 return nstate; in noop_create_dsa_state()
69 struct pipe_rasterizer_state *nstate = CALLOC_STRUCT(pipe_rasterizer_state); in noop_create_rs_state() local
71 if (nstate == NULL) { in noop_create_rs_state()
74 *nstate = *state; in noop_create_rs_state()
75 return nstate; in noop_create_rs_state()
81 struct pipe_sampler_state *nstate = CALLOC_STRUCT(pipe_sampler_state); in noop_create_sampler_state() local
83 if (nstate == NULL) { in noop_create_sampler_state()
86 *nstate = *state; in noop_create_sampler_state()
87 return nstate; in noop_create_sampler_state()
227 struct pipe_vertex_element *nstate = CALLOC_STRUCT(pipe_vertex_element); in noop_create_vertex_elements() local
229 if (nstate == NULL) { in noop_create_vertex_elements()
232 *nstate = *state; in noop_create_vertex_elements()
233 return nstate; in noop_create_vertex_elements()
239 struct pipe_shader_state *nstate = CALLOC_STRUCT(pipe_shader_state); in noop_create_shader_state() local
241 if (nstate == NULL) { in noop_create_shader_state()
244 *nstate = *state; in noop_create_shader_state()
245 return nstate; in noop_create_shader_state()