Home
last modified time | relevance | path

Searched refs:radeon_set_context_reg (Results 1 - 19 of 19) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
H A Dcayman_msaa.c149 radeon_set_context_reg(cs, CM_R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, 0); in cayman_emit_msaa_sample_locs()
150 radeon_set_context_reg(cs, CM_R_028C08_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0, 0); in cayman_emit_msaa_sample_locs()
151 radeon_set_context_reg(cs, CM_R_028C18_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0, 0); in cayman_emit_msaa_sample_locs()
152 radeon_set_context_reg(cs, CM_R_028C28_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0, 0); in cayman_emit_msaa_sample_locs()
155 radeon_set_context_reg(cs, CM_R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, eg_sample_locs_2x[0]); in cayman_emit_msaa_sample_locs()
156 radeon_set_context_reg(cs, CM_R_028C08_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0, eg_sample_locs_2x[1]); in cayman_emit_msaa_sample_locs()
157 radeon_set_context_reg(cs, CM_R_028C18_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0, eg_sample_locs_2x[2]); in cayman_emit_msaa_sample_locs()
158 radeon_set_context_reg(cs, CM_R_028C28_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0, eg_sample_locs_2x[3]); in cayman_emit_msaa_sample_locs()
161 radeon_set_context_reg(cs, CM_R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, eg_sample_locs_4x[0]); in cayman_emit_msaa_sample_locs()
162 radeon_set_context_reg(c in cayman_emit_msaa_sample_locs()
[all...]
H A Dr600_state.c286 radeon_set_context_reg(cs, R_028DF8_PA_SU_POLY_OFFSET_DB_FMT_CNTL, in r600_emit_polygon_offset()
1385 radeon_set_context_reg(cs, R_028040_CB_COLOR0_BASE + i*4, cb[i]->cb_color_base); in r600_emit_framebuffer_state()
1398 radeon_set_context_reg(cs, R_0280E0_CB_COLOR0_FRAG + i*4, cb[i]->cb_color_fmask); in r600_emit_framebuffer_state()
1411 radeon_set_context_reg(cs, R_0280C0_CB_COLOR0_TILE + i*4, cb[i]->cb_color_cmask); in r600_emit_framebuffer_state()
1470 radeon_set_context_reg(cs, R_028D34_DB_PREFETCH_LIMIT, surf->db_prefetch_limit); in r600_emit_framebuffer_state()
1474 radeon_set_context_reg(cs, R_028010_DB_DEPTH_INFO, S_028010_FORMAT(V_028010_DEPTH_INVALID)); in r600_emit_framebuffer_state()
1492 radeon_set_context_reg(cs, R_0287A0_CB_SHADER_CONTROL, 1); in r600_emit_framebuffer_state()
1497 radeon_set_context_reg(cs, R_0287A0_CB_SHADER_CONTROL, in r600_emit_framebuffer_state()
1533 radeon_set_context_reg(cs, R_028808_CB_COLOR_CONTROL, a->cb_color_control); in r600_emit_cb_misc_state()
1543 radeon_set_context_reg(c in r600_emit_cb_misc_state()
[all...]
H A Dr600_streamout.c284 radeon_set_context_reg(cs, R_028AD0_VGT_STRMOUT_BUFFER_SIZE_0 + 16*i, 0); in r600_emit_streamout_end()
318 radeon_set_context_reg(&rctx->gfx.cs, strmout_buffer_reg, strmout_buffer_val); in r600_emit_streamout_enable()
319 radeon_set_context_reg(&rctx->gfx.cs, strmout_config_reg, strmout_config_val); in r600_emit_streamout_enable()
H A Devergreen_state.c998 radeon_set_context_reg(cs, R_028838_SQ_DYN_GPR_RESOURCE_LIMIT_1, in evergreen_emit_config_state()
1692 radeon_set_context_reg(cs, R_028A4C_PA_SC_MODE_CNTL_1, in evergreen_emit_msaa_state()
1700 radeon_set_context_reg(cs, R_028A4C_PA_SC_MODE_CNTL_1, in evergreen_emit_msaa_state()
1778 radeon_set_context_reg(cs, R_028B9C_CB_IMMED0_BASE + (idx * 4), resource->immed_buffer->gpu_address >> 8); in evergreen_emit_image_state()
1856 radeon_set_context_reg(cs, R_028C70_CB_COLOR0_INFO + i * 0x3C, in evergreen_emit_framebuffer_state()
1906 radeon_set_context_reg(cs, R_028C70_CB_COLOR0_INFO + 1 * 0x3C, in evergreen_emit_framebuffer_state()
1913 radeon_set_context_reg(cs, R_028C70_CB_COLOR0_INFO + i * 0x3C, 0); in evergreen_emit_framebuffer_state()
1915 radeon_set_context_reg(cs, R_028E50_CB_COLOR8_INFO + (i - 8) * 0x1C, 0); in evergreen_emit_framebuffer_state()
1928 radeon_set_context_reg(cs, R_028008_DB_DEPTH_VIEW, zb->db_depth_view); in evergreen_emit_framebuffer_state()
2008 radeon_set_context_reg(c in evergreen_emit_polygon_offset()
[all...]
H A Dr600_cs.h150 static inline void radeon_set_context_reg(struct radeon_cmdbuf *cs, unsigned reg, unsigned value) in radeon_set_context_reg() function
H A Dr600_state_common.c94 radeon_set_context_reg(cs, R_028410_SX_ALPHA_TEST_CONTROL, in r600_emit_alphatest_state()
97 radeon_set_context_reg(cs, R_028438_SX_ALPHA_REF, alpha_ref); in r600_emit_alphatest_state()
269 radeon_set_context_reg(cs, R_028A94_VGT_MULTI_PRIM_IB_RESET_EN, a->vgt_multi_prim_ib_reset_en); in r600_emit_vgt_state()
1805 radeon_set_context_reg(cs, item_size_reg, itemsize); in r600_setup_scratch_area_for_shader()
2112 radeon_set_context_reg(cs, R_028810_PA_CL_CLIP_CNTL, in r600_emit_clip_misc_state()
2116 radeon_set_context_reg(cs, R_02881C_PA_CL_VS_OUT_CNTL, in r600_emit_clip_misc_state()
2122 radeon_set_context_reg(cs, R_028AB4_VGT_REUSE_OFF, in r600_emit_clip_misc_state()
2146 radeon_set_context_reg(cs, R_028A0C_PA_SC_LINE_STIPPLE, in r600_emit_rasterizer_prim_state()
2361 radeon_set_context_reg(cs, CM_R_028AA8_IA_MULTI_VGT_PARAM, in r600_draw_vbo()
2391 radeon_set_context_reg(c in r600_draw_vbo()
[all...]
H A Dr600_hw_context.c289 radeon_set_context_reg(cs, R_028350_SX_MISC, 0); in r600_context_gfx_flush()
H A Dr600_pipe.h1014 radeon_set_context_reg(cs, reg, value); in radeon_set_context_reg_flag()
/third_party/mesa3d/src/amd/vulkan/
H A Dsi_cmd_buffer.c57 radeon_set_context_reg(cs, R_028350_PA_SC_RASTER_CONFIG, raster_config_se[se]); in si_write_harvested_raster_configs()
71 radeon_set_context_reg(cs, R_028354_PA_SC_RASTER_CONFIG_1, raster_config_1); in si_write_harvested_raster_configs()
188 radeon_set_context_reg(cs, R_028350_PA_SC_RASTER_CONFIG, raster_config); in si_set_raster_config()
190 radeon_set_context_reg(cs, R_028354_PA_SC_RASTER_CONFIG_1, raster_config_1); in si_set_raster_config()
216 radeon_set_context_reg(cs, R_028A18_VGT_HOS_MAX_TESS_LEVEL, fui(64)); in si_emit_graphics()
218 radeon_set_context_reg(cs, R_028A1C_VGT_HOS_MIN_TESS_LEVEL, fui(0)); in si_emit_graphics()
222 radeon_set_context_reg(cs, R_028A54_VGT_GS_PER_ES, SI_GS_PER_ES); in si_emit_graphics()
223 radeon_set_context_reg(cs, R_028A58_VGT_ES_PER_GS, 0x40); in si_emit_graphics()
228 radeon_set_context_reg(cs, R_028A5C_VGT_GS_PER_VS, 0x2); in si_emit_graphics()
229 radeon_set_context_reg(c in si_emit_graphics()
[all...]
H A Dradv_pipeline.c5527 radeon_set_context_reg(ctx_cs, R_028000_DB_RENDER_CONTROL, ds_state->db_render_control); in radv_pipeline_emit_depth_stencil_state()
5543 radeon_set_context_reg(ctx_cs, R_028B70_DB_ALPHA_TO_MASK, blend->db_alpha_to_mask); in radv_pipeline_emit_blend_state()
5551 radeon_set_context_reg(ctx_cs, R_028714_SPI_SHADER_COL_FORMAT, blend->spi_shader_col_format); in radv_pipeline_emit_blend_state()
5553 radeon_set_context_reg(ctx_cs, R_02823C_CB_SHADER_MASK, blend->cb_shader_mask); in radv_pipeline_emit_blend_state()
5585 radeon_set_context_reg(ctx_cs, R_028C4C_PA_SC_CONSERVATIVE_RASTERIZATION_CNTL, in radv_pipeline_emit_raster_state()
5601 radeon_set_context_reg(ctx_cs, R_028804_DB_EQAA, ms->db_eqaa); in radv_pipeline_emit_multisample_state()
5602 radeon_set_context_reg(ctx_cs, R_028BE0_PA_SC_AA_CONFIG, ms->pa_sc_aa_config); in radv_pipeline_emit_multisample_state()
5613 radeon_set_context_reg( in radv_pipeline_emit_multisample_state()
5642 radeon_set_context_reg(ctx_cs, R_028A84_VGT_PRIMITIVEID_EN, vgt_primitiveid_en); in radv_pipeline_emit_vgt_gs_mode()
5643 radeon_set_context_reg(ctx_c in radv_pipeline_emit_vgt_gs_mode()
[all...]
H A Dradv_cmd_buffer.c1163 radeon_set_context_reg(cs, R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, in radv_emit_sample_locations()
1165 radeon_set_context_reg(cs, R_028C08_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0, in radv_emit_sample_locations()
1167 radeon_set_context_reg(cs, R_028C18_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0, in radv_emit_sample_locations()
1169 radeon_set_context_reg(cs, R_028C28_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0, in radv_emit_sample_locations()
1173 radeon_set_context_reg(cs, R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, in radv_emit_sample_locations()
1175 radeon_set_context_reg(cs, R_028C08_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0, in radv_emit_sample_locations()
1177 radeon_set_context_reg(cs, R_028C18_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0, in radv_emit_sample_locations()
1179 radeon_set_context_reg(cs, R_028C28_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0, in radv_emit_sample_locations()
1181 radeon_set_context_reg(cs, R_028BFC_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1, in radv_emit_sample_locations()
1183 radeon_set_context_reg(c in radv_emit_sample_locations()
[all...]
H A Dradv_cs.h70 radeon_set_context_reg(struct radeon_cmdbuf *cs, unsigned reg, unsigned value) in radeon_set_context_reg() function
H A Dradv_device.c4221 radeon_set_context_reg( in radv_emit_graphics_scratch()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state_msaa.c157 radeon_set_context_reg(R_028BF8_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0, sample_locs); in si_emit_max_4_sample_locs()
158 radeon_set_context_reg(R_028C08_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0, sample_locs); in si_emit_max_4_sample_locs()
159 radeon_set_context_reg(R_028C18_PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0, sample_locs); in si_emit_max_4_sample_locs()
160 radeon_set_context_reg(R_028C28_PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0, sample_locs); in si_emit_max_4_sample_locs()
H A Dsi_build_pm4.h95 #define radeon_set_context_reg(reg, value) do { \ macro
172 radeon_set_context_reg(offset, __value); \
H A Dsi_state.c3221 radeon_set_context_reg(R_028C70_CB_COLOR0_INFO + i * 0x3C, in si_emit_framebuffer_state()
3308 radeon_set_context_reg(R_028C60_CB_COLOR0_BASE + i * 0x3C, cb_color_base); in si_emit_framebuffer_state()
3309 radeon_set_context_reg(R_028E40_CB_COLOR0_BASE_EXT + i * 4, cb_color_base >> 32); in si_emit_framebuffer_state()
3310 radeon_set_context_reg(R_028C94_CB_COLOR0_DCC_BASE + i * 0x3C, cb_dcc_base); in si_emit_framebuffer_state()
3311 radeon_set_context_reg(R_028EA0_CB_COLOR0_DCC_BASE_EXT + i * 4, cb_dcc_base >> 32); in si_emit_framebuffer_state()
3312 radeon_set_context_reg(R_028EC0_CB_COLOR0_ATTRIB2 + i * 4, cb->cb_color_attrib2); in si_emit_framebuffer_state()
3313 radeon_set_context_reg(R_028EE0_CB_COLOR0_ATTRIB3 + i * 4, cb_color_attrib3); in si_emit_framebuffer_state()
3347 radeon_set_context_reg(R_028E40_CB_COLOR0_BASE_EXT + i * 4, cb_color_base >> 32); in si_emit_framebuffer_state()
3348 radeon_set_context_reg(R_028E60_CB_COLOR0_CMASK_BASE_EXT + i * 4, in si_emit_framebuffer_state()
3350 radeon_set_context_reg(R_028E80_CB_COLOR0_FMASK_BASE_EX in si_emit_framebuffer_state()
[all...]
H A Dsi_state_draw.cpp861 radeon_set_context_reg(R_028B58_VGT_LS_HS_CONFIG, ls_hs_config);
1177 radeon_set_context_reg(R_028A6C_VGT_GS_OUT_PRIM_TYPE, gs_out_prim);
1299 radeon_set_context_reg(R_028AA8_IA_MULTI_VGT_PARAM, ia_multi_vgt_param);
1410 radeon_set_context_reg(R_028A94_VGT_MULTI_PRIM_IB_RESET_EN, primitive_restart);
1414 radeon_set_context_reg(R_02840C_VGT_MULTI_PRIM_IB_RESET_INDX, restart_index);
1455 radeon_set_context_reg(R_028B30_VGT_STRMOUT_DRAW_OPAQUE_VERTEX_STRIDE, t->stride_in_dw);
H A Dsi_state_streamout.c361 radeon_set_context_reg(R_028AD0_VGT_STRMOUT_BUFFER_SIZE_0 + 16 * i, 0); in si_emit_streamout_end()
H A Dsi_state_shaders.cpp4236 radeon_set_context_reg(R_0286E8_SPI_TMPRING_SIZE, sctx->spi_tmpring_size);

Completed in 58 milliseconds