| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/tests/ |
| state_pool_free_list_only.c | 50 /* Grab and return enough states that the state pool test below won't 54 struct anv_state states[NUM_THREADS * STATES_PER_THREAD]; local 56 states[i] = anv_state_pool_alloc(&state_pool, 16, 16); 57 ASSERT(states[i].offset != 0); 61 anv_state_pool_free(&state_pool, states[i]);
|
| state_pool_test_helper.h | 41 struct anv_state states[chunk_size]; local 47 states[i] = anv_state_pool_alloc(job->pool, 16, 16); 48 memset(states[i].map, 139, 16); 49 ASSERT(states[i].offset != 0); 53 anv_state_pool_free(job->pool, states[i]);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/tests/ |
| state_pool_free_list_only.c | 50 /* Grab and return enough states that the state pool test below won't 54 struct anv_state states[NUM_THREADS * STATES_PER_THREAD]; local 56 states[i] = anv_state_pool_alloc(&state_pool, 16, 16); 57 assert(states[i].offset != 0); 61 anv_state_pool_free(&state_pool, states[i]);
|
| state_pool_test_helper.h | 41 struct anv_state states[chunk_size]; local 47 states[i] = anv_state_pool_alloc(job->pool, 16, 16); 48 memset(states[i].map, 139, 16); 49 assert(states[i].offset != 0); 53 anv_state_pool_free(job->pool, states[i]);
|
| /xsrc/external/mit/MesaLib.old/src/intel/ |
| brw_nir_trig_workarounds.c | 23 /* Note: these must match the start states created in 128 brw_nir_apply_trig_workarounds_pre_block(nir_block *block, uint16_t *states) 148 index += tbl->filter[states[alu->src[i].src.ssa->index]]; 150 states[alu->dest.dest.ssa.index] = tbl->table[index]; 156 states[load_const->def.index] = CONST_STATE; 168 const uint16_t *states, const bool *condition_flags) 180 switch (states[alu->dest.dest.ssa.index]) { 224 uint16_t *states = calloc(impl->ssa_alloc, sizeof(*states)); local 227 brw_nir_apply_trig_workarounds_pre_block(block, states); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/ |
| Rasterizer.cpp | 59 struct pipe_viewport_state states[PIPE_MAX_VIEWPORTS]; local 75 states[i].scale[0] = half_width; 76 states[i].scale[1] = -half_height; 77 states[i].scale[2] = depth; 79 states[i].translate[0] = half_width + x; 80 states[i].translate[1] = half_height + y; 81 states[i].translate[2] = z; 84 memset(states + NumViewports, 0, 88 states); 112 struct pipe_scissor_state states[PIPE_MAX_VIEWPORTS] local [all...] |
| /xsrc/external/mit/xterm/dist/vttests/ |
| mouse-codes | 90 my $states; 94 for $states ( 0 .. $maxstates ) { 98 my $result = ( 32 + ( $states << 2 ) ); 114 &KeyState($states), &Motion($motion);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/ |
| bi_packer.c.py | 192 % for (pack_exprs, s_body, _) in states: 196 % for i, (pack_exprs, s_body, cond) in enumerate(states): 207 def pack_variant(opname, states): 209 pack_exprs = [[hex(state[1]["exact"][1])] for state in states] 211 # Computations which need to be done to encode first, across states 215 # String -> { String -> Uint }. This can be shared across states since 221 # constant across states. 222 staging = states[0][1].get("staging", "") 227 pack_sources(states[0][1].get("srcs", []), common_body, pack_exprs, offset, opname[0] == '*') 230 for st in states [all...] |
| gen_disasm.py | 353 states = expand_states(instructions) variable 356 for st in states: 357 print(disasm_op(st, states[st])) 359 print(decode_op(states, True)) 360 print(decode_op(states, False))
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_search.c | 44 struct util_dynarray *states; member in struct:match_state 56 nir_algebraic_automaton(nir_instr *instr, struct util_dynarray *states, 509 util_dynarray_num_elements(state->states, uint16_t)); 510 util_dynarray_append(state->states, uint16_t, 0); 511 nir_algebraic_automaton(&alu->instr, state->states, state->pass_op_table); 560 util_dynarray_num_elements(state->states, uint16_t)); 561 util_dynarray_append(state->states, uint16_t, 0); 562 nir_algebraic_automaton(cval->parent_instr, state->states, 652 struct util_dynarray *states, 658 if (nir_algebraic_automaton(use_src->parent_instr, states, pass_op_table) 915 struct util_dynarray states = {0}; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_sampler.c | 183 const struct pipe_sampler_state *states[PIPE_MAX_SAMPLERS]; local 202 * states that are NULL. 208 states[unit] = sampler; 210 states[unit] = NULL; 215 * sampler states we need at the end. 252 states[extra] = sampler; 257 states[extra] = sampler; 259 states[extra] = sampler; 268 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states);
|
| st_program.c | 78 set_affected_state_flags(uint64_t *states, 89 *states |= new_constants; 92 *states |= new_sampler_views | new_samplers; 95 *states |= new_images; 98 *states |= new_ubos; 101 *states |= new_ssbos; 104 *states |= new_atomics; 108 * This determines which states will be updated when the shader is bound. 113 uint64_t *states; local 117 states = &((struct st_program*)prog)->affected_states [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_state_viewport.c | 40 info.scale[0] = sctx->viewports.states[0].scale[0]; 41 info.scale[1] = sctx->viewports.states[0].scale[1]; 42 info.translate[0] = sctx->viewports.states[0].translate[0]; 43 info.translate[1] = sctx->viewports.states[0].translate[1]; 377 struct pipe_scissor_state *states = ctx->scissors; local 388 si_emit_one_scissor(ctx, cs, vp, scissor_enabled ? &states[0] : NULL); 401 scissor_enabled ? &states[i] : NULL); 415 ctx->viewports.states[index] = state[i]; 487 struct pipe_viewport_state *states = ctx->viewports.states; local 524 struct pipe_viewport_state *states = ctx->viewports.states; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_vbuf.h | 70 const struct pipe_vertex_element *states);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| r600_viewport.c | 62 rctx->scissors.states[start_slot + i] = state[i]; 239 struct pipe_scissor_state *states = rctx->scissors.states; local 253 r600_emit_one_scissor(rctx, cs, vp, scissor_enabled ? &states[0] : NULL); 274 scissor_enabled ? &states[i] : NULL); 293 rctx->viewports.states[index] = state[i]; 322 struct pipe_viewport_state *states = rctx->viewports.states; local 331 r600_emit_one_viewport(rctx, &states[0]); 344 r600_emit_one_viewport(rctx, &states[i]) 352 struct pipe_viewport_state *states = rctx->viewports.states; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| r600_viewport.c | 62 rctx->scissors.states[start_slot + i] = state[i]; 239 struct pipe_scissor_state *states = rctx->scissors.states; local 253 r600_emit_one_scissor(rctx, cs, vp, scissor_enabled ? &states[0] : NULL); 274 scissor_enabled ? &states[i] : NULL); 293 rctx->viewports.states[index] = state[i]; 322 struct pipe_viewport_state *states = rctx->viewports.states; local 331 r600_emit_one_viewport(rctx, &states[0]); 344 r600_emit_one_viewport(rctx, &states[i]) 352 struct pipe_viewport_state *states = rctx->viewports.states; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_atom_sampler.c | 125 /* Reduce the number of states by allowing only the values that AMD GCN 265 const struct pipe_sampler_state *states[PIPE_MAX_SAMPLERS]; local 284 * states that are NULL. 289 states[unit] = sampler; 291 states[unit] = NULL; 296 * sampler states we need at the end. 314 states[extra] = sampler; 319 states[extra] = sampler; 321 states[extra] = sampler; 330 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states); [all...] |
| st_program.c | 69 set_affected_state_flags(uint64_t *states, 80 *states |= new_constants; 83 *states |= new_sampler_views | new_samplers; 86 *states |= new_images; 89 *states |= new_ubos; 92 *states |= new_ssbos; 95 *states |= new_atomics; 99 * This determines which states will be updated when the shader is bound. 104 uint64_t *states; local 108 states = &((struct st_vertex_program*)prog)->affected_states [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/cso_cache/ |
| cso_context.h | 67 const struct pipe_sampler_state **states); 75 unsigned idx, const struct pipe_sampler_state *states); 84 const struct pipe_vertex_element *states);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| si_state_viewport.c | 291 struct pipe_scissor_state *states = ctx->scissors; local 299 si_emit_one_scissor(ctx, cs, vp, scissor_enabled ? &states[0] : NULL); 310 scissor_enabled ? &states[i] : NULL); 326 ctx->viewports.states[index] = state[i]; 405 struct pipe_viewport_state *states = ctx->viewports.states; local 410 si_emit_one_viewport(ctx, &states[0]); 420 si_emit_one_viewport(ctx, &states[i]); 438 struct pipe_viewport_state *states = ctx->viewports.states; local [all...] |
| si_shader.h | 32 * The problem with that is that we also have to emulate some API states 35 * - each shader has multiple variants for each combination of emulated states, 40 * This driver uses something completely different. The emulated states are 43 * - prolog part (shader code dependent on states) 45 * - epilog part (shader code dependent on states) 70 * 1) Some rarely-used states require modification of the main shader part 457 struct si_vs_prolog_bits states; member in struct:si_shader_part_key::__anon4046 468 struct si_tcs_epilog_bits states; member in struct:si_shader_part_key::__anon4047 471 struct si_gs_prolog_bits states; member in struct:si_shader_part_key::__anon4048 476 struct si_ps_prolog_bits states; member in struct:si_shader_part_key::__anon4049 489 struct si_ps_epilog_bits states; member in struct:si_shader_part_key::__anon4050 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/tools/trace/ |
| dump_state.py | 287 def bind_sampler_states(self, shader, start, num_states, states): 290 self._get_stage_state(shader).sampler = states 292 def bind_vertex_sampler_states(self, num_states, states): 294 self._state.vs.sampler = states 296 def bind_geometry_sampler_states(self, num_states, states): 298 self._state.gs.sampler = states 300 def bind_fragment_sampler_states(self, num_states, states): 302 self._state.fs.sampler = states 397 def _update(self, array, start_slot, num_slots, states): 398 if not isinstance(states, list) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/tools/trace/ |
| dump_state.py | 286 def bind_sampler_states(self, shader, start, num_states, states): 289 self._get_stage_state(shader).sampler = states 291 def bind_vertex_sampler_states(self, num_states, states): 293 self._state.vs.sampler = states 295 def bind_geometry_sampler_states(self, num_states, states): 297 self._state.gs.sampler = states 299 def bind_fragment_sampler_states(self, num_states, states): 301 self._state.fs.sampler = states 396 def _update(self, array, start_slot, num_slots, states): 397 if not isinstance(states, list) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3_array_to_ssa.c | 56 struct array_state *states; member in struct:array_ctx 64 return &ctx->states[ctx->array_count * block->index + id]; 225 ctx.states = calloc(ctx.array_count * i, sizeof(struct array_state)); 313 free(ctx.states);
|
| /xsrc/external/mit/freetype/dist/src/psnames/ |
| psmodule.c | 269 FT_UInt *states ) 279 if ( states[n] == 0 ) 282 states[n] = 1; 294 FT_UInt *states ) 304 states[n] = 2;
|