diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-02 14:24:41 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-08-02 14:24:41 -0400 |
commit | a456587b77ae357750179a50f8db2a17c0f2738e (patch) | |
tree | c3e2bfd2f6cead89f8c9a9f6adaf3c4788bc1cd0 /src/r600_state.h | |
parent | 8eba977cab1878ba247da8160771d41194d8014f (diff) |
r6xx/r7xx: move syrface sync emit to the functions that emit surface info
reduces code duplication.
Diffstat (limited to 'src/r600_state.h')
-rw-r--r-- | src/r600_state.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/r600_state.h b/src/r600_state.h index 710ec6d8..4e65bc1f 100644 --- a/src/r600_state.h +++ b/src/r600_state.h @@ -70,6 +70,7 @@ typedef struct { /* Shader */ typedef struct { uint64_t shader_addr; + uint32_t shader_size; int num_gprs; int stack_size; int dx10_clamp; @@ -113,6 +114,7 @@ typedef struct { int format; uint64_t base; uint64_t mip_base; + uint32_t size; int format_comp_x; int format_comp_y; int format_comp_z; @@ -283,9 +285,6 @@ start_3d(ScrnInfoPtr pScrn, drmBufPtr ib); void set_render_target(ScrnInfoPtr pScrn, drmBufPtr ib, cb_config_t *cb_conf, uint32_t domain); void -cp_set_surface_sync(ScrnInfoPtr pScrn, drmBufPtr ib, uint32_t sync_type, uint32_t size, uint64_t mc_addr, - struct radeon_bo *bo, uint32_t rdomains, uint32_t wdomain); -void cp_wait_vline_sync(ScrnInfoPtr pScrn, drmBufPtr ib, PixmapPtr pPix, xf86CrtcPtr crtc, int start, int stop); void fs_setup(ScrnInfoPtr pScrn, drmBufPtr ib, shader_config_t *fs_conf, uint32_t domain); @@ -298,8 +297,6 @@ set_alu_consts(ScrnInfoPtr pScrn, drmBufPtr ib, int offset, int count, float *co void set_bool_consts(ScrnInfoPtr pScrn, drmBufPtr ib, int offset, uint32_t val); void -set_vtx_resource(ScrnInfoPtr pScrn, drmBufPtr ib, vtx_resource_t *res, uint32_t domain); -void set_tex_resource(ScrnInfoPtr pScrn, drmBufPtr ib, tex_resource_t *tex_res, uint32_t domain); void set_tex_sampler (ScrnInfoPtr pScrn, drmBufPtr ib, tex_sampler_t *s); |