Lines Matching refs:rview
2342 struct r600_pipe_sampler_view *rview; in evergreen_emit_sampler_views() local
2346 rview = state->views[resource_index]; in evergreen_emit_sampler_views()
2347 assert(rview); in evergreen_emit_sampler_views()
2351 radeon_emit_array(cs, rview->tex_resource_words, 8); in evergreen_emit_sampler_views()
2353 reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rview->tex_resource, in evergreen_emit_sampler_views()
2355 r600_get_sampler_view_priority(rview->tex_resource)); in evergreen_emit_sampler_views()
2359 if (!rview->skip_mip_address_reloc) { in evergreen_emit_sampler_views()
2460 struct r600_pipe_sampler_view *rview = texinfo->views.views[i]; in evergreen_emit_sampler_states() local
2461 if (rview) { in evergreen_emit_sampler_states()
2463 &border_color, rview->base.format); in evergreen_emit_sampler_states()
3996 struct r600_image_view *rview, in evergreen_setup_immed_buffer() argument
4003 struct r600_resource *resource = (struct r600_resource *)rview->base.resource; in evergreen_setup_immed_buffer()
4018 rview->immed_resource_words); in evergreen_setup_immed_buffer()
4059 struct r600_image_view *rview; in evergreen_set_shader_buffers() local
4080 rview = &istate->views[i]; in evergreen_set_shader_buffers()
4083 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, NULL); in evergreen_set_shader_buffers()
4089 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, buf->buffer); in evergreen_set_shader_buffers()
4091 resource = (struct r600_resource *)rview->base.resource; in evergreen_set_shader_buffers()
4093 evergreen_setup_immed_buffer(rctx, rview, PIPE_FORMAT_R32_UINT); in evergreen_set_shader_buffers()
4105 rview->cb_color_base = color.offset; in evergreen_set_shader_buffers()
4106 rview->cb_color_dim = color.dim; in evergreen_set_shader_buffers()
4107 rview->cb_color_info = color.info | in evergreen_set_shader_buffers()
4110 rview->cb_color_pitch = color.pitch; in evergreen_set_shader_buffers()
4111 rview->cb_color_slice = color.slice; in evergreen_set_shader_buffers()
4112 rview->cb_color_view = color.view; in evergreen_set_shader_buffers()
4113 rview->cb_color_attrib = color.attrib; in evergreen_set_shader_buffers()
4114 rview->cb_color_fmask = color.fmask; in evergreen_set_shader_buffers()
4115 rview->cb_color_fmask_slice = color.fmask_slice; in evergreen_set_shader_buffers()
4130 &rview->skip_mip_address_reloc, in evergreen_set_shader_buffers()
4131 rview->resource_words); in evergreen_set_shader_buffers()
4158 struct r600_image_view *rview; in evergreen_set_shader_images() local
4181 rview = &istate->views[i]; in evergreen_set_shader_images()
4184 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, NULL); in evergreen_set_shader_images()
4197 rview->base = *iview; in evergreen_set_shader_images()
4198 rview->base.resource = NULL; in evergreen_set_shader_images()
4199 pipe_resource_reference((struct pipe_resource **)&rview->base.resource, image); in evergreen_set_shader_images()
4201 evergreen_setup_immed_buffer(rctx, rview, iview->format); in evergreen_set_shader_images()
4262 rview->cb_color_base = color.offset; in evergreen_set_shader_images()
4263 rview->cb_color_dim = color.dim; in evergreen_set_shader_images()
4264 rview->cb_color_info = color.info | in evergreen_set_shader_images()
4267 rview->cb_color_pitch = color.pitch; in evergreen_set_shader_images()
4268 rview->cb_color_slice = color.slice; in evergreen_set_shader_images()
4269 rview->cb_color_view = color.view; in evergreen_set_shader_images()
4270 rview->cb_color_attrib = color.attrib; in evergreen_set_shader_images()
4271 rview->cb_color_fmask = color.fmask; in evergreen_set_shader_images()
4272 rview->cb_color_fmask_slice = color.fmask_slice; in evergreen_set_shader_images()
4290 &rview->skip_mip_address_reloc, in evergreen_set_shader_images()
4291 rview->resource_words); 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()
4350 struct r600_image_view *rview; in evergreen_get_shader_buffers() local
4354 rview = &istate->views[i]; in evergreen_get_shader_buffers()
4356 pipe_resource_reference(&sbuf[idx].buffer, rview->base.resource); in evergreen_get_shader_buffers()
4357 if (rview->base.resource) { in evergreen_get_shader_buffers()
4358 uint64_t rview_va = ((struct r600_resource *)rview->base.resource)->gpu_address; in evergreen_get_shader_buffers()
4360 uint64_t prog_va = rview->resource_words[0]; in evergreen_get_shader_buffers()
4362 prog_va += ((uint64_t)G_030008_BASE_ADDRESS_HI(rview->resource_words[2])) << 32; in evergreen_get_shader_buffers()
4366 sbuf[idx].buffer_size = rview->resource_words[1] + 1;; in evergreen_get_shader_buffers()