Home
last modified time | relevance | path

Searched refs:hw_draw (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_tss.c42 svga->state.hw_draw.num_views ); in svga_cleanup_tss_binding()
45 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in svga_cleanup_tss_binding()
73 svga->state.hw_draw.num_views ); in update_tss_binding()
83 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in update_tss_binding()
132 svga->state.hw_draw.num_views = svga->curr.num_sampler_views; in update_tss_binding()
193 for (i = 0; i < svga->state.hw_draw.num_views; i++) { in svga_reemit_tss_bindings()
194 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in svga_reemit_tss_bindings()
255 assert(unit < Elements(svga->state.hw_draw.ts)); \
256 assert(SVGA3D_TS_##token < Elements(svga->state.hw_draw.ts[unit])); \
257 if (svga->state.hw_draw.ts[unit][SVGA3D_TS_##token] != val) { \
[all …]
Dsvga_state_constants.c74 if (memcmp(svga->state.hw_draw.cb[shader][i], value, in emit_const()
94 memcpy(svga->state.hw_draw.cb[shader][i], value, 4 * sizeof(float)); in emit_const()
142 if (memcmp(svga->state.hw_draw.cb[shader][offset + i], in emit_const_range()
162 memcmp(svga->state.hw_draw.cb[shader][offset + j], in emit_const_range()
195 memcpy(svga->state.hw_draw.cb[shader][offset + i], in emit_const_range()
264 const struct svga_shader_result *result = svga->state.hw_draw.fs; in emit_fs_consts()
322 const struct svga_shader_result *result = svga->state.hw_draw.vs; in emit_vs_consts()
Dsvga_state_rss.c46 assert(SVGA3D_RS_##token < Elements(svga->state.hw_draw.rs)); \
47 if (svga->state.hw_draw.rs[SVGA3D_RS_##token] != value) { \
49 svga->state.hw_draw.rs[SVGA3D_RS_##token] = value; \
56 assert(SVGA3D_RS_##token < Elements(svga->state.hw_draw.rs)); \
57 if (svga->state.hw_draw.rs[SVGA3D_RS_##token] != value) { \
59 svga->state.hw_draw.rs[SVGA3D_RS_##token] = value; \
291 memset(svga->state.hw_draw.rs, 0xcd, sizeof(svga->state.hw_draw.rs)); in emit_rss()
Dsvga_context.c170 memset(&svga->state.hw_draw, 0xcd, sizeof(svga->state.hw_draw)); in svga_context_create()
171 memset(&svga->state.hw_draw.views, 0x0, sizeof(svga->state.hw_draw.views)); in svga_context_create()
172 svga->state.hw_draw.num_views = 0; in svga_context_create()
Dsvga_pipe_fs.c122 if(result == svga->state.hw_draw.fs) in svga_delete_fs_state()
123 svga->state.hw_draw.fs = NULL; in svga_delete_fs_state()
Dsvga_pipe_vs.c180 if(result == svga->state.hw_draw.vs) in svga_delete_vs_state()
181 svga->state.hw_draw.vs = NULL; in svga_delete_vs_state()
Dsvga_state_vs.c195 if (result != svga->state.hw_draw.vs) { in emit_hw_vs()
203 svga->state.hw_draw.vs = result; in emit_hw_vs()
Dsvga_state_fs.c281 if (result != svga->state.hw_draw.fs) { in emit_hw_fs()
289 svga->state.hw_draw.fs = result; in emit_hw_fs()
Dsvga_context.h352 struct svga_hw_draw_state hw_draw; member