Searched refs:texstate (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_uniforms.c34 struct vc4_texture_stateobj *texstate,
38 vc4_sampler_view(texstate->textures[unit]);
47 struct vc4_texture_stateobj *texstate,
51 vc4_sampler_view(texstate->textures[unit]);
53 vc4_sampler_state(texstate->samplers[unit]);
61 struct vc4_texture_stateobj *texstate,
65 struct pipe_sampler_view *texture = texstate->textures[unit];
78 struct vc4_texture_stateobj *texstate,
82 struct pipe_sampler_view *texture = texstate->textures[unit];
90 struct vc4_texture_stateobj *texstate,
32 write_texture_p0(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t unit) argument
45 write_texture_p1(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t unit) argument
59 write_texture_p2(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t data) argument
76 write_texture_first_level(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t data) argument
88 write_texture_msaa_addr(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t unit) argument
108 write_texture_border_color(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t unit) argument
175 get_texrect_scale(struct vc4_texture_stateobj * texstate,enum quniform_contents contents,uint32_t data) argument
191 vc4_write_uniforms(struct vc4_context * vc4,struct vc4_compiled_shader * shader,struct vc4_constbuf_stateobj * cb,struct vc4_texture_stateobj * texstate) argument
[all...]
H A Dvc4_context.h486 struct vc4_texture_stateobj *texstate);
H A Dvc4_program.c2634 struct vc4_texture_stateobj *texstate)
2636 for (int i = 0; i < texstate->num_textures; i++) {
2637 struct pipe_sampler_view *sampler = texstate->textures[i];
2640 texstate->samplers[i];
2633 vc4_setup_shared_key(struct vc4_context * vc4,struct vc4_key * key,struct vc4_texture_stateobj * texstate) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_uniforms.c34 struct vc4_texture_stateobj *texstate,
38 vc4_sampler_view(texstate->textures[unit]);
47 struct vc4_texture_stateobj *texstate,
51 vc4_sampler_view(texstate->textures[unit]);
53 vc4_sampler_state(texstate->samplers[unit]);
61 struct vc4_texture_stateobj *texstate,
65 struct pipe_sampler_view *texture = texstate->textures[unit];
78 struct vc4_texture_stateobj *texstate,
82 struct pipe_sampler_view *texture = texstate->textures[unit];
90 struct vc4_texture_stateobj *texstate,
32 write_texture_p0(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t unit) argument
45 write_texture_p1(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t unit) argument
59 write_texture_p2(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t data) argument
76 write_texture_first_level(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t data) argument
88 write_texture_msaa_addr(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t unit) argument
108 write_texture_border_color(struct vc4_job * job,struct vc4_cl_out ** uniforms,struct vc4_texture_stateobj * texstate,uint32_t unit) argument
175 get_texrect_scale(struct vc4_texture_stateobj * texstate,enum quniform_contents contents,uint32_t data) argument
191 vc4_write_uniforms(struct vc4_context * vc4,struct vc4_compiled_shader * shader,struct vc4_constbuf_stateobj * cb,struct vc4_texture_stateobj * texstate) argument
[all...]
H A Dvc4_context.h484 struct vc4_texture_stateobj *texstate);
H A Dvc4_program.c2659 struct vc4_texture_stateobj *texstate)
2661 for (int i = 0; i < texstate->num_textures; i++) {
2662 struct pipe_sampler_view *sampler = texstate->textures[i];
2665 texstate->samplers[i];
2658 vc4_setup_shared_key(struct vc4_context * vc4,struct vc4_key * key,struct vc4_texture_stateobj * texstate) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_uniforms.c33 get_texrect_scale(struct v3d_texture_stateobj *texstate, argument
37 struct pipe_sampler_view *texture = texstate->textures[data];
49 get_texture_size(struct v3d_texture_stateobj *texstate, argument
53 struct pipe_sampler_view *texture = texstate->textures[data];
109 struct v3d_texture_stateobj *texstate,
113 struct pipe_sampler_state *psampler = texstate->samplers[unit];
123 struct v3d_texture_stateobj *texstate,
132 struct pipe_sampler_view *psview = texstate->textures[unit];
136 .texture_state_record_base_address = texstate->texture_state[unit],
151 struct v3d_texture_stateobj *texstate,
107 write_texture_p0(struct v3d_job * job,struct v3d_cl_out ** uniforms,struct v3d_texture_stateobj * texstate,uint32_t unit,uint32_t shader_data) argument
121 write_texture_p1(struct v3d_job * job,struct v3d_cl_out ** uniforms,struct v3d_texture_stateobj * texstate,uint32_t data) argument
149 write_tmu_p0(struct v3d_job * job,struct v3d_cl_out ** uniforms,struct v3d_texture_stateobj * texstate,uint32_t data) argument
187 write_tmu_p1(struct v3d_job * job,struct v3d_cl_out ** uniforms,struct v3d_texture_stateobj * texstate,uint32_t data) argument
213 struct v3d_texture_stateobj *texstate = &v3d->tex[stage]; local in function:v3d_write_uniforms
[all...]
H A Dv3d_program.c406 struct v3d_texture_stateobj *texstate)
410 for (int i = 0; i < texstate->num_textures; i++) {
411 struct pipe_sampler_view *sampler = texstate->textures[i];
414 texstate->samplers[i];
405 v3d_setup_shared_key(struct v3d_context * v3d,struct v3d_key * key,struct v3d_texture_stateobj * texstate) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_uniforms.c37 get_texrect_scale(struct v3d_texture_stateobj *texstate, argument
41 struct pipe_sampler_view *texture = texstate->textures[data];
53 get_texture_size(struct v3d_texture_stateobj *texstate, argument
57 struct pipe_sampler_view *texture = texstate->textures[data];
113 struct v3d_texture_stateobj *texstate,
117 struct pipe_sampler_state *psampler = texstate->samplers[unit];
127 struct v3d_texture_stateobj *texstate,
136 struct pipe_sampler_view *psview = texstate->textures[unit];
140 .texture_state_record_base_address = texstate->texture_state[unit],
155 struct v3d_texture_stateobj *texstate,
111 write_texture_p0(struct v3d_job * job,struct v3d_cl_out ** uniforms,struct v3d_texture_stateobj * texstate,uint32_t unit,uint32_t shader_data) argument
125 write_texture_p1(struct v3d_job * job,struct v3d_cl_out ** uniforms,struct v3d_texture_stateobj * texstate,uint32_t data) argument
153 write_tmu_p0(struct v3d_job * job,struct v3d_cl_out ** uniforms,struct v3d_texture_stateobj * texstate,uint32_t data) argument
191 write_tmu_p1(struct v3d_job * job,struct v3d_cl_out ** uniforms,struct v3d_texture_stateobj * texstate,uint32_t data) argument
218 struct v3d_texture_stateobj *texstate = &v3d->tex[stage]; local in function:v3d_write_uniforms
[all...]
H A Dv3d_program.c444 struct v3d_texture_stateobj *texstate)
448 key->num_tex_used = texstate->num_textures;
449 key->num_samplers_used = texstate->num_textures;
451 for (int i = 0; i < texstate->num_textures; i++) {
452 struct pipe_sampler_view *sampler = texstate->textures[i];
455 texstate->samplers[i];
443 v3d_setup_shared_key(struct v3d_context * v3d,struct v3d_key * key,struct v3d_texture_stateobj * texstate) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_state_derived.c791 struct r300_texture_sampler_state *texstate; local in function:r300_merge_textures_and_samplers
816 texstate = &state->regs[i];
817 texstate->format = view->format;
818 texstate->filter0 = sampler->filter0;
819 texstate->filter1 = sampler->filter1;
822 texstate->border_color =
851 &texstate->format);
852 texstate->format.tile_config |= offset & 0xffffffe0;
857 texstate->format.format1 |= view->texcache_region;
879 texstate
[all...]
H A Dr300_emit.c122 struct r300_textures_state* texstate = r300->textures_state.state; local in function:get_rc_constant_state
135 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture);
143 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture);
892 struct r300_texture_sampler_state *texstate; local in function:r300_emit_textures_state
903 texstate = &allstate->regs[i];
906 OUT_CS_REG(R300_TX_FILTER0_0 + (i * 4), texstate->filter0);
907 OUT_CS_REG(R300_TX_FILTER1_0 + (i * 4), texstate->filter1);
909 texstate->border_color);
911 OUT_CS_REG(R300_TX_FORMAT0_0 + (i * 4), texstate->format.format0);
912 OUT_CS_REG(R300_TX_FORMAT1_0 + (i * 4), texstate
1308 struct r300_textures_state *texstate = local in function:r300_emit_buffer_validate
[all...]
H A Dr300_fs.c149 struct r300_textures_state *texstate = r300->textures_state.state; local in function:get_external_state
154 for (i = 0; i < texstate->sampler_state_count; i++) {
155 struct r300_sampler_state *s = texstate->sampler_states[i];
156 struct r300_sampler_view *v = texstate->sampler_views[i];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_state_derived.c791 struct r300_texture_sampler_state *texstate; local in function:r300_merge_textures_and_samplers
816 texstate = &state->regs[i];
817 texstate->format = view->format;
818 texstate->filter0 = sampler->filter0;
819 texstate->filter1 = sampler->filter1;
822 texstate->border_color =
851 &texstate->format);
852 texstate->format.tile_config |= offset & 0xffffffe0;
857 texstate->format.format1 |= view->texcache_region;
879 texstate
[all...]
H A Dr300_emit.c122 struct r300_textures_state* texstate = r300->textures_state.state; local in function:get_rc_constant_state
135 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture);
143 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture);
895 struct r300_texture_sampler_state *texstate; local in function:r300_emit_textures_state
906 texstate = &allstate->regs[i];
909 OUT_CS_REG(R300_TX_FILTER0_0 + (i * 4), texstate->filter0);
910 OUT_CS_REG(R300_TX_FILTER1_0 + (i * 4), texstate->filter1);
912 texstate->border_color);
914 OUT_CS_REG(R300_TX_FORMAT0_0 + (i * 4), texstate->format.format0);
915 OUT_CS_REG(R300_TX_FORMAT1_0 + (i * 4), texstate
1311 struct r300_textures_state *texstate = local in function:r300_emit_buffer_validate
[all...]
H A Dr300_fs.c149 struct r300_textures_state *texstate = r300->textures_state.state; local in function:get_external_state
154 for (i = 0; i < texstate->sampler_state_count; i++) {
155 struct r300_sampler_state *s = texstate->sampler_states[i];
156 struct r300_sampler_view *v = texstate->sampler_views[i];
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dattrib.c55 #include "texstate.h"
512 struct texture_state *texstate = CALLOC_STRUCT(texture_state); local in function:_mesa_PushAttrib
515 if (!texstate) {
520 if (!save_attrib_data(&head, GL_TEXTURE_BIT, texstate)) {
521 free(texstate);
529 memcpy(&texstate->Texture, &ctx->Texture, sizeof(ctx->Texture));
536 _mesa_reference_texobj(&texstate->SavedTexRef[u][tex],
544 _mesa_copy_texture_object(&texstate->SavedObj[u][tex],
549 _mesa_reference_shared_state(ctx, &texstate->SharedRef, ctx->Shared);
798 pop_texture_group(struct gl_context *ctx, struct texture_state *texstate) argument
1471 struct texture_state *texstate local in function:_mesa_PopAttrib
1870 struct texture_state *texstate = (struct texture_state*)attr->data; local in function:_mesa_free_attrib_data
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dattrib.c56 #include "texstate.h"
535 pop_texture_group(struct gl_context *ctx, struct gl_texture_attrib_node *texstate) argument
544 &texstate->FixedFuncUnit[u];
594 texstate->LodBias[u]);
621 ctx->Texture.Unit[u].LodBias = texstate->LodBias[u];
622 ctx->Texture.Unit[u].LodBiasQuantized = texstate->LodBiasQuantized[u];
627 unsigned num_tex_saved = texstate->NumTexSaved;
635 const struct gl_texture_object *savedObj = &texstate->SavedObj[u][tgt];
663 savedObj = &texstate->SavedDefaultObj[tgt];
705 const struct gl_texture_object *src = &texstate
[all...]
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D10.0.rst66 [bisected] WebGL demo "Consumed": texstate.c:628:
/xsrc/external/mit/MesaLib.old/dist/src/mesa/
H A DMakefile.sources252 main/texstate.c \
253 main/texstate.h \

Completed in 30 milliseconds