Home
last modified time | relevance | path

Searched refs:svga (Results 1 – 25 of 84) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_context.c60 struct svga_context *svga = svga_context(pipe); in svga_destroy() local
64 for (i = 0; i < ARRAY_SIZE(svga->rasterizer_no_cull); i++) { in svga_destroy()
65 if (svga->rasterizer_no_cull[i]) { in svga_destroy()
66 pipe->delete_rasterizer_state(pipe, svga->rasterizer_no_cull[i]); in svga_destroy()
71 if (svga->depthstencil_disable) { in svga_destroy()
72 pipe->delete_depth_stencil_alpha_state(pipe, svga->depthstencil_disable); in svga_destroy()
76 for (shader = 0; shader < ARRAY_SIZE(svga->state.hw_draw.constbuf); shader++) { in svga_destroy()
77 pipe_resource_reference(&svga->state.hw_draw.constbuf[shader], NULL); in svga_destroy()
80 pipe->delete_blend_state(pipe, svga->noop_blend); in svga_destroy()
83 if (svga->gb_query) { in svga_destroy()
[all …]
Dsvga_state_rss.c48 #define EMIT_RS(svga, value, token) \ argument
50 STATIC_ASSERT(SVGA3D_RS_##token < ARRAY_SIZE(svga->state.hw_draw.rs)); \
51 if (svga->state.hw_draw.rs[SVGA3D_RS_##token] != value) { \
53 svga->state.hw_draw.rs[SVGA3D_RS_##token] = value; \
57 #define EMIT_RS_FLOAT(svga, fvalue, token) \ argument
60 STATIC_ASSERT(SVGA3D_RS_##token < ARRAY_SIZE(svga->state.hw_draw.rs)); \
61 if (svga->state.hw_draw.rs[SVGA3D_RS_##token] != value) { \
63 svga->state.hw_draw.rs[SVGA3D_RS_##token] = value; \
83 emit_rss_vgpu9(struct svga_context *svga, unsigned dirty) in emit_rss_vgpu9() argument
85 struct svga_screen *screen = svga_screen(svga->pipe.screen); in emit_rss_vgpu9()
[all …]
Dsvga_swtnl_draw.c40 svga_swtnl_draw_vbo(struct svga_context *svga, in svga_swtnl_draw_vbo() argument
48 struct draw_context *draw = svga->swtnl.draw; in svga_swtnl_draw_vbo()
54 SVGA_STATS_TIME_PUSH(svga_sws(svga), SVGA_STATS_TIME_SWTNLDRAWVBO); in svga_swtnl_draw_vbo()
56 assert(!svga->dirty); in svga_swtnl_draw_vbo()
57 assert(svga->state.sw.need_swtnl); in svga_swtnl_draw_vbo()
61 svga->state.sw.in_swtnl_draw = TRUE; in svga_swtnl_draw_vbo()
63 ret = svga_update_state(svga, SVGA_STATE_SWTNL_DRAW); in svga_swtnl_draw_vbo()
65 svga_context_flush(svga, NULL); in svga_swtnl_draw_vbo()
66 ret = svga_update_state(svga, SVGA_STATE_SWTNL_DRAW); in svga_swtnl_draw_vbo()
67 svga->swtnl.new_vbuf = TRUE; in svga_swtnl_draw_vbo()
[all …]
Dsvga_pipe_query.c91 define_query_vgpu9(struct svga_context *svga, in define_query_vgpu9() argument
94 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws; in define_query_vgpu9()
96 sq->hwbuf = svga_winsys_buffer_create(svga, 1, in define_query_vgpu9()
122 begin_query_vgpu9(struct svga_context *svga, struct svga_query *sq) in begin_query_vgpu9() argument
124 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws; in begin_query_vgpu9()
136 svga_get_query_result(&svga->pipe, &sq->base, TRUE, (void*)&result); in begin_query_vgpu9()
143 ret = SVGA3D_BeginQuery(svga->swc, sq->svga_type); in begin_query_vgpu9()
145 svga_context_flush(svga, NULL); in begin_query_vgpu9()
146 ret = SVGA3D_BeginQuery(svga->swc, sq->svga_type); in begin_query_vgpu9()
152 end_query_vgpu9(struct svga_context *svga, struct svga_query *sq) in end_query_vgpu9() argument
[all …]
Dsvga_state_fs.c84 translate_fragment_program(struct svga_context *svga, in translate_fragment_program() argument
88 if (svga_have_vgpu10(svga)) { in translate_fragment_program()
89 return svga_tgsi_vgpu10_translate(svga, &fs->base, key, in translate_fragment_program()
93 return svga_tgsi_vgpu9_translate(svga, &fs->base, key, in translate_fragment_program()
104 get_compiled_dummy_shader(struct svga_context *svga, in get_compiled_dummy_shader() argument
118 variant = translate_fragment_program(svga, fs, key); in get_compiled_dummy_shader()
127 compile_fs(struct svga_context *svga, in compile_fs() argument
135 variant = translate_fragment_program(svga, fs, key); in compile_fs()
139 variant = get_compiled_dummy_shader(svga, fs, key); in compile_fs()
141 else if (svga_shader_too_large(svga, variant)) { in compile_fs()
[all …]
Dsvga_state_need_swtnl.c36 update_need_swvfetch(struct svga_context *svga, unsigned dirty) in update_need_swvfetch() argument
38 if (!svga->curr.velems) { in update_need_swvfetch()
43 if (svga->state.sw.need_swvfetch != svga->curr.velems->need_swvfetch) { in update_need_swvfetch()
44 svga->state.sw.need_swvfetch = svga->curr.velems->need_swvfetch; in update_need_swvfetch()
45 svga->dirty |= SVGA_NEW_NEED_SWVFETCH; in update_need_swvfetch()
61 update_need_pipeline(struct svga_context *svga, unsigned dirty) in update_need_pipeline() argument
64 struct svga_vertex_shader *vs = svga->curr.vs; in update_need_pipeline()
69 if (svga->curr.rast && in update_need_pipeline()
70 (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim))) { in update_need_pipeline()
73 svga->curr.rast->need_pipeline, in update_need_pipeline()
[all …]
Dsvga_pipe_clear.c42 begin_blit(struct svga_context *svga) in begin_blit() argument
44 util_blitter_save_vertex_buffer_slot(svga->blitter, svga->curr.vb); in begin_blit()
45 util_blitter_save_vertex_elements(svga->blitter, (void*)svga->curr.velems); in begin_blit()
46 util_blitter_save_vertex_shader(svga->blitter, svga->curr.vs); in begin_blit()
47 util_blitter_save_geometry_shader(svga->blitter, svga->curr.gs); in begin_blit()
48 util_blitter_save_so_targets(svga->blitter, svga->num_so_targets, in begin_blit()
49 (struct pipe_stream_output_target**)svga->so_targets); in begin_blit()
50 util_blitter_save_rasterizer(svga->blitter, (void*)svga->curr.rast); in begin_blit()
51 util_blitter_save_viewport(svga->blitter, &svga->curr.viewport); in begin_blit()
52 util_blitter_save_scissor(svga->blitter, &svga->curr.scissor); in begin_blit()
[all …]
Dsvga_pipe_misc.c43 struct svga_context *svga = svga_context(pipe); in svga_set_scissor_states() local
45 memcpy(&svga->curr.scissor, scissors, sizeof(*scissors)); in svga_set_scissor_states()
46 svga->dirty |= SVGA_NEW_SCISSOR; in svga_set_scissor_states()
54 struct svga_context *svga = svga_context(pipe); in svga_set_polygon_stipple() local
57 pipe_resource_reference(&svga->polygon_stipple.texture, NULL); in svga_set_polygon_stipple()
60 if (svga->polygon_stipple.sampler_view) { in svga_set_polygon_stipple()
62 &svga->polygon_stipple.sampler_view->base); in svga_set_polygon_stipple()
66 svga->polygon_stipple.texture = in svga_set_polygon_stipple()
70 svga->polygon_stipple.sampler_view = in svga_set_polygon_stipple()
73 svga->polygon_stipple.texture); in svga_set_polygon_stipple()
[all …]
Dsvga_state_constants.c66 svga_get_extra_constants_common(struct svga_context *svga, in svga_get_extra_constants_common() argument
75 const struct pipe_sampler_view *sv = svga->curr.sampler_views[shader][i]; in svga_get_extra_constants_common()
117 svga_get_extra_fs_constants(struct svga_context *svga, float *dest) in svga_get_extra_fs_constants() argument
119 const struct svga_shader_variant *variant = svga->state.hw_draw.fs; in svga_get_extra_fs_constants()
122 count += svga_get_extra_constants_common(svga, variant, in svga_get_extra_fs_constants()
136 svga_get_prescale_constants(struct svga_context *svga, float **dest) in svga_get_prescale_constants() argument
138 memcpy(*dest, svga->state.hw_clear.prescale.scale, 4 * sizeof(float)); in svga_get_prescale_constants()
141 memcpy(*dest, svga->state.hw_clear.prescale.translate, 4 * sizeof(float)); in svga_get_prescale_constants()
151 svga_get_pt_sprite_constants(struct svga_context *svga, float **dest) in svga_get_pt_sprite_constants() argument
153 const struct svga_screen *screen = svga_screen(svga->pipe.screen); in svga_get_pt_sprite_constants()
[all …]
Dsvga_state_gs.c52 translate_geometry_program(struct svga_context *svga, in translate_geometry_program() argument
56 assert(svga_have_vgpu10(svga)); in translate_geometry_program()
57 return svga_tgsi_vgpu10_translate(svga, &gs->base, key, in translate_geometry_program()
66 compile_gs(struct svga_context *svga, in compile_gs() argument
74 variant = translate_geometry_program(svga, gs, key); in compile_gs()
84 variant = translate_geometry_program(svga, gs, key); in compile_gs()
90 ret = svga_define_shader(svga, SVGA3D_SHADERTYPE_GS, variant); in compile_gs()
92 svga_destroy_shader_variant(svga, SVGA3D_SHADERTYPE_GS, variant); in compile_gs()
103 make_gs_key(struct svga_context *svga, struct svga_compile_key *key) in make_gs_key() argument
105 struct svga_geometry_shader *gs = svga->curr.gs; in make_gs_key()
[all …]
Dsvga_state_tss.c44 svga_cleanup_tss_binding(struct svga_context *svga) in svga_cleanup_tss_binding() argument
49 for (i = 0; i < ARRAY_SIZE(svga->state.hw_draw.views); i++) { in svga_cleanup_tss_binding()
50 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in svga_cleanup_tss_binding()
53 pipe_sampler_view_release(&svga->pipe, in svga_cleanup_tss_binding()
54 &svga->curr.sampler_views[shader][i]); in svga_cleanup_tss_binding()
76 emit_tex_binding_unit(struct svga_context *svga, in emit_tex_binding_unit() argument
118 view->v = svga_get_tex_sampler_view(&svga->pipe, in emit_tex_binding_unit()
136 svga_validate_sampler_view(svga, view->v); in emit_tex_binding_unit()
142 update_tss_binding(struct svga_context *svga, unsigned dirty) in update_tss_binding() argument
145 boolean reemit = svga->rebind.flags.texture_samplers; in update_tss_binding()
[all …]
Dsvga_pipe_draw.c50 is_using_flat_shading(const struct svga_context *svga) in is_using_flat_shading() argument
53 svga->state.hw_draw.fs ? svga->state.hw_draw.fs->uses_flat_interp : FALSE; in is_using_flat_shading()
58 retry_draw_range_elements( struct svga_context *svga, in retry_draw_range_elements() argument
73 SVGA_STATS_TIME_PUSH(svga_sws(svga), SVGA_STATS_TIME_DRAWELEMENTS); in retry_draw_range_elements()
75 svga_hwtnl_set_fillmode(svga->hwtnl, svga->curr.rast->hw_fillmode); in retry_draw_range_elements()
77 ret = svga_update_state( svga, SVGA_STATE_HW_DRAW ); in retry_draw_range_elements()
84 svga_hwtnl_set_flatshade(svga->hwtnl, in retry_draw_range_elements()
85 svga->curr.rast->templ.flatshade || in retry_draw_range_elements()
86 is_using_flat_shading(svga), in retry_draw_range_elements()
87 svga->curr.rast->templ.flatshade_first); in retry_draw_range_elements()
[all …]
Dsvga_state_vs.c74 translate_vertex_program(struct svga_context *svga, in translate_vertex_program() argument
78 if (svga_have_vgpu10(svga)) { in translate_vertex_program()
79 return svga_tgsi_vgpu10_translate(svga, &vs->base, key, in translate_vertex_program()
83 return svga_tgsi_vgpu9_translate(svga, &vs->base, key, in translate_vertex_program()
94 get_compiled_dummy_vertex_shader(struct svga_context *svga, in get_compiled_dummy_vertex_shader() argument
108 variant = translate_vertex_program(svga, vs, key); in get_compiled_dummy_vertex_shader()
117 compile_vs(struct svga_context *svga, in compile_vs() argument
125 variant = translate_vertex_program(svga, vs, key); in compile_vs()
129 variant = get_compiled_dummy_vertex_shader(svga, vs, key); in compile_vs()
131 else if (svga_shader_too_large(svga, variant)) { in compile_vs()
[all …]
Dsvga_pipe_sampler.c160 define_sampler_state_object(struct svga_context *svga, in define_sampler_state_object() argument
172 assert(svga_have_vgpu10(svga)); in define_sampler_state_object()
208 ss->id[i] = util_bitmask_add(svga->sampler_object_id_bm); in define_sampler_state_object()
213 SVGA3D_vgpu10_DefineSamplerState(svga->swc, in define_sampler_state_object()
227 svga_context_flush(svga, NULL); in define_sampler_state_object()
240 struct svga_context *svga = svga_context(pipe); in svga_create_sampler_state() local
277 if (svga->debug.use_min_mipmap) { in svga_create_sampler_state()
286 if (svga_have_vgpu10(svga)) { in svga_create_sampler_state()
287 define_sampler_state_object(svga, cso, sampler); in svga_create_sampler_state()
295 svga->hud.num_sampler_objects++; in svga_create_sampler_state()
[all …]
Dsvga_swtnl_state.c52 set_draw_viewport(struct svga_context *svga) in set_draw_viewport() argument
54 struct pipe_viewport_state vp = svga->curr.viewport; in set_draw_viewport()
58 if (svga_have_vgpu10(svga)) { in set_draw_viewport()
59 if (svga->curr.reduced_prim == PIPE_PRIM_TRIANGLES) { in set_draw_viewport()
64 switch (svga->curr.reduced_prim) { in set_draw_viewport()
74 if (svga->curr.rast->need_pipeline & SVGA_PIPELINE_FLAG_LINES) in set_draw_viewport()
97 draw_set_viewport_states(svga->swtnl.draw, 0, 1, &vp); in set_draw_viewport()
101 update_swtnl_draw(struct svga_context *svga, unsigned dirty) in update_swtnl_draw() argument
103 SVGA_STATS_TIME_PUSH(svga_sws(svga), SVGA_STATS_TIME_SWTNLUPDATEDRAW); in update_swtnl_draw()
105 draw_flush(svga->swtnl.draw); in update_swtnl_draw()
[all …]
Dsvga_swtnl_backend.c51 struct svga_context *svga = svga_render->svga; in svga_vbuf_render_get_vertex_info() local
53 svga_swtnl_update_vdecl(svga); in svga_vbuf_render_get_vertex_info()
65 struct svga_context *svga = svga_render->svga; in svga_vbuf_render_allocate_vertices() local
66 struct pipe_screen *screen = svga->pipe.screen; in svga_vbuf_render_allocate_vertices()
71 SVGA_STATS_TIME_PUSH(svga_sws(svga), in svga_vbuf_render_allocate_vertices()
75 svga->swtnl.new_vdecl = TRUE; in svga_vbuf_render_allocate_vertices()
78 if (svga->swtnl.new_vbuf) in svga_vbuf_render_allocate_vertices()
80 svga->swtnl.new_vbuf = FALSE; in svga_vbuf_render_allocate_vertices()
98 svga_context_flush(svga, NULL); in svga_vbuf_render_allocate_vertices()
109 svga->swtnl.new_vdecl = TRUE; in svga_vbuf_render_allocate_vertices()
[all …]
Dsvga_state_framebuffer.c54 emit_fb_vgpu9(struct svga_context *svga) in emit_fb_vgpu9() argument
56 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in emit_fb_vgpu9()
57 const struct pipe_framebuffer_state *curr = &svga->curr.framebuffer; in emit_fb_vgpu9()
58 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; in emit_fb_vgpu9()
59 boolean reemit = svga->rebind.flags.rendertargets; in emit_fb_vgpu9()
63 assert(!svga_have_vgpu10(svga)); in emit_fb_vgpu9()
72 if (svga->curr.nr_fbs++ > MAX_RT_PER_BATCH) in emit_fb_vgpu9()
77 svga_propagate_surface(svga, hw->cbufs[i], TRUE); in emit_fb_vgpu9()
79 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_COLOR0 + i, in emit_fb_vgpu9()
96 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, curr->zsbuf); in emit_fb_vgpu9()
[all …]
Dsvga_pipe_blit.c77 copy_region_vgpu10(struct svga_context *svga, struct pipe_resource *src_tex, in copy_region_vgpu10() argument
93 svga_surfaces_flush(svga); in copy_region_vgpu10()
108 ret = SVGA3D_vgpu10_PredCopyRegion(svga->swc, in copy_region_vgpu10()
112 svga_context_flush(svga, NULL); in copy_region_vgpu10()
113 ret = SVGA3D_vgpu10_PredCopyRegion(svga->swc, in copy_region_vgpu10()
131 copy_region_fallback(struct svga_context *svga, in copy_region_fallback() argument
137 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws; in copy_region_fallback()
140 util_resource_copy_region(&svga->pipe, dst_tex, dst_level, dstx, in copy_region_fallback()
189 is_blending_enabled(struct svga_context *svga, in is_blending_enabled() argument
194 if (svga->curr.blend) { in is_blending_enabled()
[all …]
Dsvga_pipe_vs.c101 struct svga_context *svga = svga_context(pipe); in svga_create_vs_state() local
107 SVGA_STATS_TIME_PUSH(svga_sws(svga), SVGA_STATS_TIME_CREATEVS); in svga_create_vs_state()
111 vs->base.tokens = tgsi_dup_tokens(substitute_vs(svga->debug.shader_id, in svga_create_vs_state()
124 vs->draw_shader = draw_create_vertex_shader(svga->swtnl.draw, &tmp2); in svga_create_vs_state()
127 vs->base.id = svga->debug.shader_id++; in svga_create_vs_state()
133 vs->base.stream_output = svga_create_stream_output(svga, &vs->base, in svga_create_vs_state()
137 SVGA_STATS_TIME_POP(svga_sws(svga)); in svga_create_vs_state()
146 struct svga_context *svga = svga_context(pipe); in svga_bind_vs_state() local
148 if (vs == svga->curr.vs) in svga_bind_vs_state()
156 if (svga->curr.vs != NULL && svga->curr.vs->gs != NULL) in svga_bind_vs_state()
[all …]
Dsvga_draw.c49 svga_hwtnl_create(struct svga_context *svga) in svga_hwtnl_create() argument
55 hwtnl->svga = svga; in svga_hwtnl_create()
57 hwtnl->cmd.swc = svga->swc; in svga_hwtnl_create()
91 struct svga_screen *svgascreen = svga_screen(hwtnl->svga->pipe.screen); in svga_hwtnl_set_flatshade()
194 struct svga_context *svga = hwtnl->svga; in draw_vgpu9() local
211 if (svga->state.hw_draw.num_backed_views) { in draw_vgpu9()
212 for (i = 0; i < svga->state.hw_draw.num_views; i++) { in draw_vgpu9()
213 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in draw_vgpu9()
217 svga_validate_sampler_view(svga, view->v); in draw_vgpu9()
223 handle = svga_buffer_handle(svga, hwtnl->cmd.vbufs[j].buffer.resource, in draw_vgpu9()
[all …]
Dsvga_pipe_streamout.c48 svga_create_stream_output(struct svga_context *svga, in svga_create_stream_output() argument
64 if (!svga_have_vgpu10(svga)) in svga_create_stream_output()
70 id = util_bitmask_add(svga->stream_output_id_bm); in svga_create_stream_output()
138 ret = SVGA3D_vgpu10_DefineStreamOutput(svga->swc, id, in svga_create_stream_output()
143 svga_context_flush(svga, NULL); in svga_create_stream_output()
144 ret = SVGA3D_vgpu10_DefineStreamOutput(svga->swc, id, in svga_create_stream_output()
149 util_bitmask_clear(svga->stream_output_id_bm, id); in svga_create_stream_output()
158 svga_set_stream_output(struct svga_context *svga, in svga_set_stream_output() argument
163 if (!svga_have_vgpu10(svga)) { in svga_set_stream_output()
170 if (svga->current_so != streamout) { in svga_set_stream_output()
[all …]
Dsvga_shader.c190 svga_init_shader_key_common(const struct svga_context *svga, in svga_init_shader_key_common() argument
196 assert(shader < ARRAY_SIZE(svga->curr.num_sampler_views)); in svga_init_shader_key_common()
201 key->num_textures = MAX2(svga->curr.num_sampler_views[shader], in svga_init_shader_key_common()
202 svga->curr.num_samplers[shader]); in svga_init_shader_key_common()
205 struct pipe_sampler_view *view = svga->curr.sampler_views[shader][i]; in svga_init_shader_key_common()
206 const struct svga_sampler_state *sampler = svga->curr.sampler[shader][i]; in svga_init_shader_key_common()
296 define_gb_shader_vgpu9(struct svga_context *svga, in define_gb_shader_vgpu9() argument
301 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws; in define_gb_shader_vgpu9()
315 ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader); in define_gb_shader_vgpu9()
324 define_gb_shader_vgpu10(struct svga_context *svga, in define_gb_shader_vgpu10() argument
[all …]
Dsvga_pipe_vertex.c48 struct svga_context *svga = svga_context(pipe); in svga_set_vertex_buffers() local
50 util_set_vertex_buffers_count(svga->curr.vb, in svga_set_vertex_buffers()
51 &svga->curr.num_vertex_buffers, in svga_set_vertex_buffers()
54 svga->dirty |= SVGA_NEW_VBUFFER; in svga_set_vertex_buffers()
119 define_input_element_object(struct svga_context *svga, in define_input_element_object() argument
127 assert(svga_have_vgpu10(svga)); in define_input_element_object()
187 velems->id = util_bitmask_add(svga->input_element_object_id_bm); in define_input_element_object()
189 ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, velems->count, in define_input_element_object()
192 svga_context_flush(svga, NULL); in define_input_element_object()
193 ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, velems->count, in define_input_element_object()
[all …]
Dsvga_state_sampler.c67 svga_check_sampler_view_resource_collision(const struct svga_context *svga, in svga_check_sampler_view_resource_collision() argument
71 struct pipe_screen *screen = svga->pipe.screen; in svga_check_sampler_view_resource_collision()
78 for (i = 0; i < svga->curr.num_sampler_views[shader]; i++) { in svga_check_sampler_view_resource_collision()
80 svga_pipe_sampler_view(svga->curr.sampler_views[shader][i]); in svga_check_sampler_view_resource_collision()
96 svga_check_sampler_framebuffer_resource_collision(struct svga_context *svga, in svga_check_sampler_framebuffer_resource_collision() argument
102 for (i = 0; i < svga->curr.framebuffer.nr_cbufs; i++) { in svga_check_sampler_framebuffer_resource_collision()
103 surf = svga_surface(svga->curr.framebuffer.cbufs[i]); in svga_check_sampler_framebuffer_resource_collision()
105 svga_check_sampler_view_resource_collision(svga, surf->handle, in svga_check_sampler_framebuffer_resource_collision()
111 surf = svga_surface(svga->curr.framebuffer.zsbuf); in svga_check_sampler_framebuffer_resource_collision()
113 svga_check_sampler_view_resource_collision(svga, surf->handle, shader)) { in svga_check_sampler_framebuffer_resource_collision()
[all …]
Dsvga_pipe_depthstencil.c79 define_depth_stencil_state_object(struct svga_context *svga, in define_depth_stencil_state_object() argument
84 assert(svga_have_vgpu10(svga)); in define_depth_stencil_state_object()
86 ds->id = util_bitmask_add(svga->ds_object_id_bm); in define_depth_stencil_state_object()
101 ret = SVGA3D_vgpu10_DefineDepthStencilState(svga->swc, in define_depth_stencil_state_object()
125 svga_context_flush(svga, NULL); in define_depth_stencil_state_object()
134 struct svga_context *svga = svga_context(pipe); in svga_create_depth_stencil_state() local
177 pipe_debug_message(&svga->debug.callback, CONFORMANCE, in svga_create_depth_stencil_state()
184 pipe_debug_message(&svga->debug.callback, CONFORMANCE, in svga_create_depth_stencil_state()
218 if (svga_have_vgpu10(svga)) { in svga_create_depth_stencil_state()
219 define_depth_stencil_state_object(svga, ds); in svga_create_depth_stencil_state()
[all …]

1234