Home
last modified time | relevance | path

Searched full:nv30 (Results 1 – 25 of 69) sorted by relevance

123

/aosp_15_r20/external/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state_validate.c31 #include "nv30/nv30-40_3d.xml.h"
32 #include "nv30/nv30_context.h"
33 #include "nv30/nv30_format.h"
34 #include "nv30/nv30_winsys.h"
37 nv30_validate_fb(struct nv30_context *nv30) in nv30_validate_fb() argument
39 struct pipe_screen *pscreen = &nv30->screen->base.base; in nv30_validate_fb()
40 struct pipe_framebuffer_state *fb = &nv30->framebuffer; in nv30_validate_fb()
41 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_fb()
42 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_validate_fb()
49 nv30->state.rt_enable = (NV30_3D_RT_ENABLE_COLOR0 << fb->nr_cbufs) - 1; in nv30_validate_fb()
[all …]
H A Dnv30_context.c30 #include "nv30/nv30-40_3d.xml.h"
33 #include "nv30/nv30_context.h"
34 #include "nv30/nv30_transfer.h"
35 #include "nv30/nv30_state.h"
36 #include "nv30/nv30_winsys.h"
71 struct nv30_context *nv30 = nv30_context(pipe); in nv30_context_flush() local
72 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_context_flush()
75 nouveau_fence_ref(nv30->base.fence, in nv30_context_flush()
80 nouveau_context_update_frame_stats(&nv30->base); in nv30_context_flush()
88 struct nv30_context *nv30 = nv30_context(&nv->pipe); in nv30_invalidate_resource_storage() local
[all …]
H A Dnv30_vbo.c34 #include "nv30/nv30-40_3d.xml.h"
35 #include "nv30/nv30_context.h"
36 #include "nv30/nv30_format.h"
37 #include "nv30/nv30_winsys.h"
40 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb, in nv30_emit_vtxattr() argument
44 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_emit_vtxattr()
49 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset + in nv30_emit_vtxattr()
84 nv30_vbuf_range(struct nv30_context *nv30, int vbi, in nv30_vbuf_range() argument
87 assert(nv30->vbo_max_index != ~0); in nv30_vbuf_range()
88 *base = nv30->vbo_min_index * nv30->vertex->strides[vbi]; in nv30_vbuf_range()
[all …]
H A Dnv30_draw.c33 #include "nv30/nv30-40_3d.xml.h"
34 #include "nv30/nv30_context.h"
35 #include "nv30/nv30_format.h"
36 #include "nv30/nv30_winsys.h"
40 struct nv30_context *nv30; member
73 struct nv30_context *nv30 = r->nv30; in nv30_render_allocate_vertices() local
79 r->buffer = pipe_buffer_create(&nv30->screen->base.base, in nv30_render_allocate_vertices()
96 &r->nv30->base.pipe, r->buffer, in nv30_render_map_vertices()
110 pipe_buffer_unmap(&r->nv30->base.pipe, r->transfer); in nv30_render_unmap_vertices()
127 struct nv30_context *nv30 = r->nv30; in nv30_render_draw_elements() local
[all …]
H A Dnv30_state.c32 #include "nv30/nv30-40_3d.xml.h"
33 #include "nv30/nv30_context.h"
34 #include "nv30/nv30_winsys.h"
121 struct nv30_context *nv30 = nv30_context(pipe); in nv30_blend_state_bind() local
123 nv30->blend = hwcso; in nv30_blend_state_bind()
124 nv30->dirty |= NV30_NEW_BLEND; in nv30_blend_state_bind()
198 struct nv30_context *nv30 = nv30_context(pipe); in nv30_rasterizer_state_bind() local
200 nv30->rast = hwcso; in nv30_rasterizer_state_bind()
201 nv30->dirty |= NV30_NEW_RASTERIZER; in nv30_rasterizer_state_bind()
276 struct nv30_context *nv30 = nv30_context(pipe); in nv30_zsa_state_bind() local
[all …]
H A Dnv30_miptree.c32 #include "nv30/nv30_screen.h"
33 #include "nv30/nv30_context.h"
34 #include "nv30/nv30_resource.h"
35 #include "nv30/nv30_transfer.h"
36 #include "nv30/nv30_winsys.h"
150 struct nv30_context *nv30 = nv30_context(pipe); in nv30_resource_copy_region() local
154 nouveau_copy_buffer(&nv30->base, in nv30_resource_copy_region()
165 nv30_transfer_rect(nv30, NEAREST, &src, &dst); in nv30_resource_copy_region()
169 nv30_resource_resolve(struct nv30_context *nv30, in nv30_resource_resolve() argument
213 nv30_transfer_rect(nv30, BILINEAR, &src, &dst); in nv30_resource_resolve()
[all …]
H A Dnv30_fragtex.c29 #include "nv30/nv30-40_3d.xml.h"
30 #include "nv30/nv30_context.h"
31 #include "nv30/nv30_format.h"
32 #include "nv30/nv30_winsys.h"
35 nv30_fragtex_validate(struct nv30_context *nv30) in nv30_fragtex_validate() argument
37 struct pipe_screen *pscreen = &nv30->screen->base.base; in nv30_fragtex_validate()
38 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragtex_validate()
39 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_fragtex_validate()
40 unsigned dirty = nv30->fragprog.dirty_samplers; in nv30_fragtex_validate()
44 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv30_fragtex_validate()
[all …]
H A Dnv40_verttex.c27 #include "nv30/nv30_context.h"
28 #include "nv30/nv30_winsys.h"
31 nv40_verttex_validate(struct nv30_context *nv30) in nv40_verttex_validate() argument
33 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv40_verttex_validate()
34 unsigned dirty = nv30->vertprog.dirty_samplers; in nv40_verttex_validate()
38 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv40_verttex_validate()
39 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; in nv40_verttex_validate()
49 nv30->vertprog.dirty_samplers = 0; in nv40_verttex_validate()
56 struct nv30_context *nv30 = nv30_context(pipe); in nv40_verttex_sampler_states_bind() local
60 nv30->vertprog.samplers[i] = hwcso[i]; in nv40_verttex_sampler_states_bind()
[all …]
H A Dnv30_transfer.c27 struct nv30_context *nv30, enum nv30_transfer_filter filter, \
34 #include "nv30/nv01_2d.xml.h"
35 #include "nv30/nv30-40_3d.xml.h"
37 #include "nv30/nv30_context.h"
38 #include "nv30/nv30_transfer.h"
39 #include "nv30/nv30_winsys.h"
58 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS) in nv30_transfer_blit()
72 nv30_transfer_rect_vertprog(struct nv30_context *nv30) in nv30_transfer_rect_vertprog() argument
74 struct nouveau_heap *heap = nv30->screen->vp_exec_heap; in nv30_transfer_rect_vertprog()
77 vp = nv30->blit_vp; in nv30_transfer_rect_vertprog()
[all …]
H A Dnv30_vertprog.c32 #include "nv30/nv30-40_3d.xml.h"
33 #include "nv30/nv30_context.h"
34 #include "nv30/nvfx_shader.h"
35 #include "nv30/nv30_state.h"
36 #include "nv30/nv30_winsys.h"
57 nv30_vertprog_validate(struct nv30_context *nv30) in nv30_vertprog_validate() argument
59 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_vertprog_validate()
60 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_vertprog_validate()
61 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_vertprog_validate()
62 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_vertprog_validate()
[all …]
H A Dnv30_fragprog.c31 #include "nv30/nv30-40_3d.xml.h"
32 #include "nv30/nv30_context.h"
33 #include "nv30/nv30_winsys.h"
34 #include "nv30/nvfx_shader.h"
37 nv30_fragprog_upload(struct nv30_context *nv30) in nv30_fragprog_upload() argument
39 struct nouveau_context *nv = &nv30->base; in nv30_fragprog_upload()
40 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_upload()
41 struct pipe_context *pipe = &nv30->base.pipe; in nv30_fragprog_upload()
68 nv30_fragprog_validate(struct nv30_context *nv30) in nv30_fragprog_validate() argument
70 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_fragprog_validate()
[all …]
H A Dnv30_clear.c31 #include "nv30/nv30-40_3d.xml.h"
32 #include "nv30/nv30_context.h"
33 #include "nv30/nv30_winsys.h"
34 #include "nv30/nv30_format.h"
57 struct nv30_context *nv30 = nv30_context(pipe); in nv30_clear() local
58 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_clear()
59 struct pipe_framebuffer_state *fb = &nv30->framebuffer; in nv30_clear()
62 if (!nv30_state_validate(nv30, NV30_NEW_FRAMEBUFFER, true)) in nv30_clear()
98 nv30->dirty |= NV30_NEW_ZSA; in nv30_clear()
103 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS) { in nv30_clear()
[all …]
H A Dnv30_push.c33 #include "nv30/nv30-40_3d.xml.h"
34 #include "nv30/nv30_context.h"
35 #include "nv30/nv30_resource.h"
36 #include "nv30/nv30_winsys.h"
199 nv30_push_vbo(struct nv30_context *nv30, const struct pipe_draw_info *info, in nv30_push_vbo() argument
206 ctx.push = nv30->base.pushbuf; in nv30_push_vbo()
207 ctx.translate = nv30->vertex->translate; in nv30_push_vbo()
208 ctx.packet_vertex_limit = nv30->vertex->vtx_per_packet_max; in nv30_push_vbo()
209 ctx.vertex_words = nv30->vertex->vtx_size; in nv30_push_vbo()
211 for (i = 0; i < nv30->num_vtxbufs; ++i) { in nv30_push_vbo()
[all …]
H A Dnv30_query.c27 #include "nv30/nv30-40_3d.xml.h"
28 #include "nv30/nv30_screen.h"
29 #include "nv30/nv30_context.h"
30 #include "nv30/nv30_winsys.h"
150 struct nv30_context *nv30 = nv30_context(pipe); in nv30_query_begin() local
152 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_query_begin()
156 q->qo[0] = nv30_query_object_new(nv30->screen); in nv30_query_begin()
180 struct nv30_context *nv30 = nv30_context(pipe); in nv30_query_end() local
181 struct nv30_screen *screen = nv30->screen; in nv30_query_end()
183 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_query_end()
[all …]
H A Dnv30_context.h7 #include "nv30/nv30_screen.h"
8 #include "nv30/nv30_state.h"
140 nv30_vbo_validate(struct nv30_context *nv30);
155 nv30_vertprog_validate(struct nv30_context *nv30);
161 nv30_fragprog_validate(struct nv30_context *nv30);
167 nv30_texture_validate(struct nv30_context *nv30);
173 nv30_fragtex_validate(struct nv30_context *nv30);
179 nv40_verttex_validate(struct nv30_context *nv30);
200 nv30_push_vbo(struct nv30_context *nv30, const struct pipe_draw_info *info,
212 nv30_state_validate(struct nv30_context *nv30, uint32_t mask, bool hwtnl);
[all …]
H A Dnv30_resource.c29 #include "nv30/nv30_screen.h"
30 #include "nv30/nv30_context.h"
31 #include "nv30/nv30_resource.h"
32 #include "nv30/nv30_transfer.h"
37 struct nv30_context *nv30 = nv30_context(pipe); in nv30_memory_barrier() local
41 for (i = 0; i < nv30->num_vtxbufs; ++i) { in nv30_memory_barrier()
42 if (!nv30->vtxbuf[i].buffer.resource) in nv30_memory_barrier()
44 if (nv30->vtxbuf[i].buffer.resource->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) in nv30_memory_barrier()
45 nv30->base.vbo_dirty = true; in nv30_memory_barrier()
H A Dnv30_screen.c34 #include "nv30/nv30-40_3d.xml.h"
35 #include "nv30/nv01_2d.xml.h"
38 #include "nv30/nv30_screen.h"
39 #include "nv30/nv30_context.h"
40 #include "nv30/nv30_resource.h"
41 #include "nv30/nv30_format.h"
42 #include "nv30/nv30_winsys.h"
497 /* The FS compiler options are different between nv30 and nv40, and are set in nv30_screen_get_compiler_options()
510 struct nv30_context *nv30 = nv30_context(pcontext); in nv30_screen_fence_emit() local
511 struct nv30_screen *screen = nv30->screen; in nv30_screen_fence_emit()
[all …]
H A Dnv30_format.c26 #include "nv30/nv30-40_3d.xml.h"
27 #include "nv30/nv30_context.h"
28 #include "nv30/nv30_format.h"
199 .nv30 = NV30_3D_TEX_FORMAT_FORMAT_##b, \
H A Dnv30_texture.c30 #include "nv30/nv30-40_3d.xml.h"
31 #include "nv30/nv30_context.h"
32 #include "nv30/nv30_format.h"
/aosp_15_r20/external/mesa3d/src/gallium/drivers/nouveau/
H A Dmeson.build29 'nv30/nv01_2d.xml.h',
30 'nv30/nv30-40_3d.xml.h',
31 'nv30/nv30_clear.c',
32 'nv30/nv30_context.c',
33 'nv30/nv30_context.h',
34 'nv30/nv30_draw.c',
35 'nv30/nv30_format.c',
36 'nv30/nv30_format.h',
37 'nv30/nv30_fragprog.c',
38 'nv30/nv30_fragtex.c',
[all …]
/aosp_15_r20/external/mesa3d/docs/relnotes/
H A D10.5.7.rst58 - nv30: don't leak fragprog consts
59 - nv30: avoid leaking render state and draw shaders
60 - nv30: fix clip plane uploads and enable changes
61 - nv30/draw: avoid leaving stale pointers in draw state
62 - nv30/draw: draw expects constbuf size in bytes, not vec4 units
65 - nv30/draw: fix indexed draws with swtnl path and a resource index
67 - nv30/draw: only use the DMA1 object (GART) if the bo is not in VRAM
68 - nv30/draw: allocate vertex buffers in gart
69 - nv30/draw: switch varying hookup logic to know about texcoords
70 - nv30: falling back to draw path for edgeflag does no good
[all …]
H A D10.6.8.rst58 - nv30: Fix creation of scanout buffers
59 - nv30: Implement color resolve for msaa
60 - nv30: Fix max width / height checks in nv30 sifm code
61 - nv30: Disable msaa unless requested from the env by NV30_MAX_MSAA
H A D11.0.0.rst52 - GL_EXT_depth_bounds_test on radeonsi, nv30, nv50, nvc0
57 - GL_OES_texture_float on all r300, r600, radeonsi, nv30, nv50, nvc0,
59 - GL_OES_texture_half_float on all r300, r600, radeonsi, nv30, nv50,
61 - GL_OES_texture_float_linear on all r300, r600, radeonsi, nv30, nv50,
63 - GL_OES_texture_half_float_linear on all r300, r600, radeonsi, nv30,
H A D10.2.2.rst103 - nv30: plug some memory leaks on screen destroy and shader compile
104 - nv30: avoid dangling references to deleted contexts
105 - nv30: hack to avoid errors on unexpected color/zeta combinations
/aosp_15_r20/external/mesa3d/
H A D.mr-label-maker.yml55 'nv30': ['nouveau', 'nv30']
191 '^src/gallium/drivers/nouveau/nv30': ['nv30']

123