Searched refs:shaders (Results 1 - 25 of 356) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/postprocess/
H A Dpp_celshade.c37 ppq->shaders[n][1] =
40 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
H A Dpp_colors.c51 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]);
52 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][1]);
64 ppq->shaders[n][1] =
67 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
74 ppq->shaders[n][1] =
77 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
84 ppq->shaders[n][1] =
87 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
H A Dpp_init.c72 ppq->shaders = CALLOC(num_filters, sizeof(void *));
75 if ((ppq->shaders == NULL) ||
77 pp_debug("Unable to allocate memory for shaders and filter arrays.\n");
95 if (pp_filters[i].shaders) {
96 ppq->shaders[curpos] =
97 CALLOC(pp_filters[i].shaders + 1, sizeof(void *));
98 if (!ppq->shaders[curpos]) {
121 ppq->shaders[i][0] = ppq->p->passvs;
179 if (ppq->p->pipe && ppq->filters && ppq->shaders) {
183 if (ppq->shaders[
[all...]
H A Dfilters.h45 unsigned int shaders; /* Request how many shaders */ member in struct:pp_filter_t
46 unsigned int verts; /* How many are vertex shaders */
55 /* name inner shaders verts init run free */
H A Dpp_mlaa.c81 assert(ppq->shaders[n]);
134 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][1]); /* offsetvs */
135 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][2]);
166 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]); /* passvs */
167 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][3]);
198 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][1]); /* offsetvs */
199 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][4]);
262 ppq->shaders[n][1] = pp_tgsi_to_state(ppq->p->pipe, offsetvs, true,
265 ppq->shaders[n][2] = pp_tgsi_to_state(ppq->p->pipe, color1fs,
268 ppq->shaders[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/postprocess/
H A Dpp_celshade.c37 ppq->shaders[n][1] =
40 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
H A Dpp_colors.c52 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]);
53 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][1]);
65 ppq->shaders[n][1] =
68 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
75 ppq->shaders[n][1] =
78 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
85 ppq->shaders[n][1] =
88 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
H A Dpp_init.c72 ppq->shaders = CALLOC(num_filters, sizeof(void *));
75 if ((ppq->shaders == NULL) ||
77 pp_debug("Unable to allocate memory for shaders and filter arrays.\n");
95 if (pp_filters[i].shaders) {
96 ppq->shaders[curpos] =
97 CALLOC(pp_filters[i].shaders + 1, sizeof(void *));
98 if (!ppq->shaders[curpos]) {
121 ppq->shaders[i][0] = ppq->p->passvs;
179 if (ppq->p->pipe && ppq->filters && ppq->shaders) {
183 if (ppq->shaders[
[all...]
H A Dfilters.h45 unsigned int shaders; /* Request how many shaders */ member in struct:pp_filter_t
46 unsigned int verts; /* How many are vertex shaders */
55 /* name inner shaders verts init run free */
H A Dpp_mlaa.c81 assert(ppq->shaders[n]);
139 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][1]); /* offsetvs */
140 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][2]);
171 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]); /* passvs */
172 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][3]);
203 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][1]); /* offsetvs */
204 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][4]);
267 ppq->shaders[n][1] = pp_tgsi_to_state(ppq->p->pipe, offsetvs, true,
270 ppq->shaders[n][2] = pp_tgsi_to_state(ppq->p->pipe, color1fs,
273 ppq->shaders[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/cso/
H A Dshader.rst6 One of the two types of shaders supported by Gallium.
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_program_cache.c27 * API-specified shaders and a state key to a compiled variant. It also
91 _mesa_hash_table_search(ice->shaders.cache, keybox);
103 hash_table_foreach(ice->shaders.cache, entry) {
118 * This is useful for programs generating shaders at runtime, where multiple
119 * distinct shaders (from an API perspective) may compile to the same assembly
149 if (ice->shaders.cache_next_offset != 0) {
150 memcpy(map, ice->shaders.cache_bo_map, ice->shaders.cache_next_offset);
153 crocus_bo_unmap(ice->shaders.cache_bo);
154 crocus_bo_unreference(ice->shaders
[all...]
/xsrc/external/mit/MesaLib/dist/docs/gallium/cso/
H A Dshader.rst6 One of the two types of shaders supported by Gallium.
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_interface.h44 void aco_compile_shader(unsigned shader_count, struct nir_shader* const* shaders,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_program_cache.c27 * API-specified shaders and a state key to a compiled variant. It also
95 _mesa_hash_table_search(ice->shaders.cache, keybox);
122 /* Pass-through tessellation control shaders (generated by the driver)
123 * will have a mem_ctx, and other tessellation control shaders will not.
241 iris_create_shader_variant(screen, ice->shaders.cache, IRIS_CACHE_BLORP,
246 iris_upload_shader(screen, NULL, shader, ice->shaders.cache,
247 ice->shaders.uploader_driver,
263 ice->shaders.cache =
266 ice->shaders.uploader_driver =
270 ice->shaders
[all...]
H A Diris_measure.c179 snapshot->cs = (uintptr_t) ice->shaders.prog[MESA_SHADER_COMPUTE];
181 snapshot->vs = (uintptr_t) ice->shaders.prog[MESA_SHADER_VERTEX];
182 snapshot->tcs = (uintptr_t) ice->shaders.prog[MESA_SHADER_TESS_CTRL];
183 snapshot->tes = (uintptr_t) ice->shaders.prog[MESA_SHADER_TESS_EVAL];
184 snapshot->gs = (uintptr_t) ice->shaders.prog[MESA_SHADER_GEOMETRY];
185 snapshot->fs = (uintptr_t) ice->shaders.prog[MESA_SHADER_FRAGMENT];
218 cs = (uintptr_t) ice->shaders.prog[MESA_SHADER_COMPUTE];
220 vs = (uintptr_t) ice->shaders.prog[MESA_SHADER_VERTEX];
221 tcs = (uintptr_t) ice->shaders.prog[MESA_SHADER_TESS_CTRL];
222 tes = (uintptr_t) ice->shaders
[all...]
H A Diris_binder.c140 struct iris_compiled_shader **shaders = ice->shaders.prog; local in function:iris_binder_reserve_3d
152 if (!shaders[stage])
156 sizes[stage] = align(shaders[stage]->bt.size_bytes, BTP_ALIGNMENT);
203 ice->shaders.prog[MESA_SHADER_COMPUTE];
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/
H A Drun-shader-db.sh16 ./run -j${FDO_CI_CONCURRENT:-4} ./shaders \
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_program_cache.c27 * API-specified shaders and a state key to a compiled variant. It also
114 make_keybox(ice->shaders.cache, cache_id, key, key_size);
116 _mesa_hash_table_search(ice->shaders.cache, keybox);
128 hash_table_foreach(ice->shaders.cache, entry) {
142 * This is useful for programs generating shaders at runtime, where multiple
143 * distinct shaders (from an API perspective) may compile to the same assembly
172 struct hash_table *cache = ice->shaders.cache;
181 * object. This is notably useful for programs generating shaders at
182 * runtime, where multiple shaders may compile to the same thing in our
191 u_upload_alloc(ice->shaders
[all...]
H A Diris_binder.c139 struct iris_compiled_shader **shaders = ice->shaders.prog; local in function:iris_binder_reserve_3d
150 if (!shaders[stage])
154 (const void *) shaders[stage]->prog_data;
202 ice->shaders.prog[MESA_SHADER_COMPUTE]->prog_data;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ir3/
H A Dir3_cache.c103 struct ir3_shader *shaders[MESA_SHADER_STAGES] = { local in function:ir3_cache_lookup
116 if (shaders[stage]) {
118 ir3_shader_variant(shaders[stage], shader_key, false, debug);
126 struct ir3_compiler *compiler = shaders[MESA_SHADER_VERTEX]->compiler;
134 ir3_shader_variant(shaders[stage], shader_key, false, debug);
149 ir3_shader_variant(shaders[MESA_SHADER_VERTEX], shader_key, true, debug);
/xsrc/external/mit/mesa-demos/dist/src/rbug/
H A Dshdr_info.c48 rbug_send_shader_info(con, ctx, list->shaders[i], NULL);
56 (unsigned long long)list->shaders[i],
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_device.h69 } shaders; member in struct:pan_blitter
78 struct hash_table *shaders; member in struct:pan_blend_shaders
108 struct pan_indirect_draw_shader shaders[PAN_INDIRECT_DRAW_NUM_SHADERS]; member in struct:pan_indirect_draw_shaders
110 /* Take the lock when initializing the draw shaders context or when
116 * single BO for all shaders up-front because estimating shader size
122 /* BO containing all renderer states attached to the compute shaders.
/xsrc/external/mit/MesaLib/dist/docs/
H A Dshading.rst17 - **log** - log all GLSL shaders to files. The filenames will be
20 - **cache_fb** - force cached shaders to be ignored and do a full
23 - **nopvert** - force vertex shaders to be a simple shader that just
43 - **MESA_SHADER_READ_PATH** - path where replacement shaders are read
47 shaders do not clobber the replacement shaders. Also, the filenames of
48 the replacement shaders should match the filenames of the corresponding
49 dumped shaders.
59 which compiler developers can use to gather statistics about shaders
62 Notably, this captures linked GLSL shaders
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/driver_rbug/
H A Drbug_context.h79 struct rbug_list shaders; member in struct:rbug_context

Completed in 14 milliseconds

1234567891011>>