• Home
  • Raw
  • Download

Lines Matching refs:rview

2347 		struct r600_pipe_sampler_view *rview;  in evergreen_emit_sampler_views()  local
2351 rview = state->views[resource_index]; in evergreen_emit_sampler_views()
2352 assert(rview); in evergreen_emit_sampler_views()
2356 radeon_emit_array(cs, rview->tex_resource_words, 8); in evergreen_emit_sampler_views()
2358 reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rview->tex_resource, in evergreen_emit_sampler_views()
2360 r600_get_sampler_view_priority(rview->tex_resource)); in evergreen_emit_sampler_views()
2364 if (!rview->skip_mip_address_reloc) { in evergreen_emit_sampler_views()
2465 struct r600_pipe_sampler_view *rview = texinfo->views.views[i]; in evergreen_emit_sampler_states() local
2466 if (rview) { in evergreen_emit_sampler_states()
2468 &border_color, rview->base.format); in evergreen_emit_sampler_states()
4008 struct r600_image_view *rview, in evergreen_setup_immed_buffer() argument
4015 struct r600_resource *resource = (struct r600_resource *)rview->base.resource; in evergreen_setup_immed_buffer()
4030 rview->immed_resource_words); in evergreen_setup_immed_buffer()
4071 struct r600_image_view *rview; in evergreen_set_shader_buffers() local
4092 rview = &istate->views[i]; in evergreen_set_shader_buffers()
4095 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, NULL); in evergreen_set_shader_buffers()
4101 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, buf->buffer); in evergreen_set_shader_buffers()
4103 resource = (struct r600_resource *)rview->base.resource; in evergreen_set_shader_buffers()
4105 evergreen_setup_immed_buffer(rctx, rview, PIPE_FORMAT_R32_UINT); in evergreen_set_shader_buffers()
4117 rview->cb_color_base = color.offset; in evergreen_set_shader_buffers()
4118 rview->cb_color_dim = color.dim; in evergreen_set_shader_buffers()
4119 rview->cb_color_info = color.info | in evergreen_set_shader_buffers()
4122 rview->cb_color_pitch = color.pitch; in evergreen_set_shader_buffers()
4123 rview->cb_color_slice = color.slice; in evergreen_set_shader_buffers()
4124 rview->cb_color_view = color.view; in evergreen_set_shader_buffers()
4125 rview->cb_color_attrib = color.attrib; in evergreen_set_shader_buffers()
4126 rview->cb_color_fmask = color.fmask; in evergreen_set_shader_buffers()
4127 rview->cb_color_fmask_slice = color.fmask_slice; in evergreen_set_shader_buffers()
4142 &rview->skip_mip_address_reloc, in evergreen_set_shader_buffers()
4143 rview->resource_words); in evergreen_set_shader_buffers()
4170 struct r600_image_view *rview; in evergreen_set_shader_images() local
4195 rview = &istate->views[i]; in evergreen_set_shader_images()
4198 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, NULL); in evergreen_set_shader_images()
4211 rview->base = *iview; in evergreen_set_shader_images()
4212 rview->base.resource = NULL; in evergreen_set_shader_images()
4213 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, image); in evergreen_set_shader_images()
4215 evergreen_setup_immed_buffer(rctx, rview, iview->format); in evergreen_set_shader_images()
4276 rview->cb_color_base = color.offset; in evergreen_set_shader_images()
4277 rview->cb_color_dim = color.dim; in evergreen_set_shader_images()
4278 rview->cb_color_info = color.info | in evergreen_set_shader_images()
4281 rview->cb_color_pitch = color.pitch; in evergreen_set_shader_images()
4282 rview->cb_color_slice = color.slice; in evergreen_set_shader_images()
4283 rview->cb_color_view = color.view; in evergreen_set_shader_images()
4284 rview->cb_color_attrib = color.attrib; in evergreen_set_shader_images()
4285 rview->cb_color_fmask = color.fmask; in evergreen_set_shader_images()
4286 rview->cb_color_fmask_slice = color.fmask_slice; in evergreen_set_shader_images()
4304 &rview->skip_mip_address_reloc, in evergreen_set_shader_images()
4305 rview->resource_words); in evergreen_set_shader_images()
4318 &rview->skip_mip_address_reloc, in evergreen_set_shader_images()
4319 rview->resource_words); in evergreen_set_shader_images()
4326 rview = &istate->views[i]; in evergreen_set_shader_images()
4328 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, NULL); in evergreen_set_shader_images()
4374 struct r600_image_view *rview; in evergreen_get_shader_buffers() local
4378 rview = &istate->views[i]; in evergreen_get_shader_buffers()
4380 pipe_resource_reference(&sbuf[idx].buffer, rview->base.resource); in evergreen_get_shader_buffers()
4381 if (rview->base.resource) { in evergreen_get_shader_buffers()
4382 uint64_t rview_va = ((struct r600_resource *)rview->base.resource)->gpu_address; in evergreen_get_shader_buffers()
4384 uint64_t prog_va = rview->resource_words[0]; in evergreen_get_shader_buffers()
4386 prog_va += ((uint64_t)G_030008_BASE_ADDRESS_HI(rview->resource_words[2])) << 32; in evergreen_get_shader_buffers()
4390 sbuf[idx].buffer_size = rview->resource_words[1] + 1;; in evergreen_get_shader_buffers()