/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
H A D | nv50_shader_state.c | 115 …nv50->constbuf_dirty[NV50_SHADER_STAGE_COMPUTE] |= nv50->constbuf_valid[NV50_SHADER_STAGE_COMPUTE]; in nv50_constbufs_validate() 124 prog, nv50->screen->base.device->chipset, &nv50->base.debug); in nv50_program_validate() 141 if (nv50->state.new_tls_space) in nv50_program_update_context_state() 143 if (!nv50->state.tls_required || nv50->state.new_tls_space) in nv50_program_update_context_state() 144 BCTX_REFN_bo(nv50->bufctx_3d, 3D_TLS, flags, nv50->screen->tls_bo); in nv50_program_update_context_state() 185 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled) { in nv50_fragprog_validate() 367 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) { in nv50_validate_derived_rs() 368 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard; in nv50_validate_derived_rs() 428 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog; in nv50_fp_linkage_validate() 550 if (unlikely(nv50->gmtyprog)) { in nv50_fp_linkage_validate() [all …]
|
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
H A D | nv50_shader_state.c | 115 …nv50->constbuf_dirty[NV50_SHADER_STAGE_COMPUTE] |= nv50->constbuf_valid[NV50_SHADER_STAGE_COMPUTE]; in nv50_constbufs_validate() 124 prog, nv50->screen->base.device->chipset, &nv50->base.debug); in nv50_program_validate() 141 if (nv50->state.new_tls_space) in nv50_program_update_context_state() 143 if (!nv50->state.tls_required || nv50->state.new_tls_space) in nv50_program_update_context_state() 144 BCTX_REFN_bo(nv50->bufctx_3d, 3D_TLS, flags, nv50->screen->tls_bo); in nv50_program_update_context_state() 185 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled) { in nv50_fragprog_validate() 367 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) { in nv50_validate_derived_rs() 368 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard; in nv50_validate_derived_rs() 428 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog; in nv50_fp_linkage_validate() 550 if (unlikely(nv50->gmtyprog)) { in nv50_fp_linkage_validate() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
H A D | nv50_shader_state.c | 115 …nv50->constbuf_dirty[NV50_SHADER_STAGE_COMPUTE] |= nv50->constbuf_valid[NV50_SHADER_STAGE_COMPUTE]; in nv50_constbufs_validate() 124 prog, nv50->screen->base.device->chipset, &nv50->base.debug); in nv50_program_validate() 141 if (nv50->state.new_tls_space) in nv50_program_update_context_state() 143 if (!nv50->state.tls_required || nv50->state.new_tls_space) in nv50_program_update_context_state() 144 BCTX_REFN_bo(nv50->bufctx_3d, 3D_TLS, flags, nv50->screen->tls_bo); in nv50_program_update_context_state() 185 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled) { in nv50_fragprog_validate() 367 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) { in nv50_validate_derived_rs() 368 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard; in nv50_validate_derived_rs() 428 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog; in nv50_fp_linkage_validate() 550 if (unlikely(nv50->gmtyprog)) { in nv50_fp_linkage_validate() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 66 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 186 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 189 nv50->screen->save_state = nv50->state; in nv50_destroy() 196 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 200 FREE(nv50->blit); in nv50_destroy() 308 if (!nv50) in nv50_create() 424 if (nv50->bufctx_3d) in nv50_create() 426 if (nv50->bufctx_cp) in nv50_create() 428 if (nv50->bufctx) in nv50_create() 430 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha_enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_context.c | 65 if (!nv50->vtxbuf[i].buffer.resource && !nv50->vtxbuf[i].is_user_buffer) in nv50_memory_barrier() 169 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy() 172 nv50->screen->save_state = nv50->state; in nv50_destroy() 179 nouveau_pushbuf_kick(nv50->base.pushbuf, nv50->base.pushbuf->channel); in nv50_destroy() 183 FREE(nv50->blit); in nv50_destroy() 281 if (!nv50) in nv50_create() 396 if (nv50->bufctx_3d) in nv50_create() 398 if (nv50->bufctx_cp) in nv50_create() 400 if (nv50->bufctx) in nv50_create() 402 FREE(nv50->blit); in nv50_create() [all …]
|
H A D | nv50_state_validate.c | 142 nv50->base.pipe.get_sample_position(&nv50->base.pipe, ms, i, xy); in nv50_validate_fb() 189 bool rast_scissor = nv50->rast ? nv50->rast->pipe.scissor : false; in nv50_validate_scissor() 191 if (!(nv50->dirty_3d & in nv50_validate_scissor() 201 if ((nv50->dirty_3d & NV50_NEW_3D_FRAMEBUFFER) && !nv50->state.scissor) in nv50_validate_scissor() 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 342 if (nv50->zsa && nv50->zsa->pipe.alpha.enabled && in nv50_validate_derived_2() 364 vp = nv50->gmtyprog; in nv50_validate_clip() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() [all …]
|