HomeSort by: relevance | last modified time | path
    Searched defs:constants (Results 1 - 25 of 80) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
bi_layout.c 28 * scheduling, we need to lay out the instructions (tuples) and constants
47 * of the number of instructions and constants; it doesn't require actually
69 * constants are packed two-by-two as constant quadwords.
78 unsigned constants = clause->constant_count; local
80 if ((X != 4) && (X != 7) && (X >= 3) && constants)
81 constants--;
83 return Y + DIV_ROUND_UP(constants, 2);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
radeon_remove_constants.c 70 struct rc_constant *constants = c->Program.Constants.Constants; local
74 if (!c->Program.Constants.Count) {
79 const_used = malloc(c->Program.Constants.Count);
80 memset(const_used, 0, c->Program.Constants.Count);
85 /* Pass 1: Mark used constants. */
94 for (unsigned i = 0; i < c->Program.Constants.Count; i++)
95 if (constants[i].Type == RC_CONSTANT_EXTERNAL)
99 /* Pass 3: Make the remapping table and remap constants
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
radeon_remove_constants.c 70 struct rc_constant *constants = c->Program.Constants.Constants; local
74 if (!c->Program.Constants.Count) {
79 const_used = malloc(c->Program.Constants.Count);
80 memset(const_used, 0, c->Program.Constants.Count);
85 /* Pass 1: Mark used constants. */
94 for (unsigned i = 0; i < c->Program.Constants.Count; i++)
95 if (constants[i].Type == RC_CONSTANT_EXTERNAL)
99 /* Pass 3: Make the remapping table and remap constants
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
st_pbo.h 58 } constants; member in struct:st_pbo_addresses
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_pbo.h 58 } constants; member in struct:st_pbo_addresses
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
draw_pt_fetch_shade_emit.c 55 const float *constants; member in struct:fetch_shade_emit
draw_pt_fetch_shade_pipeline.c 151 * just grab the constants, viewport, etc. from the draw context state.
206 const void *constants[PIPE_MAX_CONSTANT_BUFFERS],
223 constants, local
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/postprocess/
pp_mlaa.c 57 static float constants[] = { 1, 1, 0, 0 }; variable
93 constants[0] = 1.0f / p->framebuffer.width;
94 constants[1] = 1.0f / p->framebuffer.height;
103 cb.buffer_size = sizeof(constants);
104 cb.user_buffer = constants;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
sp_state_shader.c 380 struct pipe_resource *constants = cb ? cb->buffer : NULL; local
387 constants = softpipe_user_buffer_create(pipe->screen,
394 data = constants ? softpipe_resource_data(constants) : NULL;
402 pipe_resource_reference(&softpipe->constants[shader][index], NULL);
403 softpipe->constants[shader][index] = constants;
405 pipe_resource_reference(&softpipe->constants[shader][index], constants);
418 pipe_resource_reference(&constants, NULL)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
gfx6_constant_state.c 116 * Creates a streamed BO containing the push constants for the VS or GS on
119 * Push constants are constant values (such as GLSL uniforms) that are
122 * Not all GLSL uniforms will be uploaded as push constants: The hardware has
124 * uploaded as push constants, while GL 4.4 requires at least 1024 components
125 * to be usable for the VS. Plus, currently we always use pull constants
126 * instead of push constants when doing variable-index array access.
181 fprintf(stderr, "%s constants:\n",
197 /* We can only push 32 registers of constants at a time. */
223 * Pull constants are GLSL uniforms (and other constant data) beyond what we
224 * could fit as push constants, or that have variable-index array acces
258 gl_constant_value *constants = brw_upload_space(&brw->upload, size, 64, local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
draw_pt_fetch_shade_emit.c 55 const float *constants; member in struct:fetch_shade_emit
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/postprocess/
pp_mlaa.c 57 static float constants[] = { 1, 1, 0, 0 }; variable
93 constants[0] = 1.0f / p->framebuffer.width;
94 constants[1] = 1.0f / p->framebuffer.height;
101 0, constants, sizeof(constants));
103 0, constants, sizeof(constants));
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
sp_state_shader.c 344 struct pipe_resource *constants = cb ? cb->buffer : NULL; local
351 constants = softpipe_user_buffer_create(pipe->screen,
358 data = constants ? softpipe_resource_data(constants) : NULL;
365 pipe_resource_reference(&softpipe->constants[shader][index], constants);
377 pipe_resource_reference(&constants, NULL);
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
gen6_constant_state.c 111 * Creates a streamed BO containing the push constants for the VS or GS on
114 * Push constants are constant values (such as GLSL uniforms) that are
117 * Not all GLSL uniforms will be uploaded as push constants: The hardware has
119 * uploaded as push constants, while GL 4.4 requires at least 1024 components
120 * to be usable for the VS. Plus, currently we always use pull constants
121 * instead of push constants when doing variable-index array access.
176 fprintf(stderr, "%s constants:\n",
192 /* We can only push 32 registers of constants at a time. */
218 * Pull constants are GLSL uniforms (and other constant data) beyond what we
219 * could fit as push constants, or that have variable-index array acces
253 gl_constant_value *constants = brw_upload_space(&brw->upload, size, 64, local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
radv_meta_copy_vrs_htile.c 58 /* Load constants. */
59 nir_ssa_def *constants = nir_load_push_constant(&b, 3, 32, nir_imm_int(&b, 0), .range = 12); local
60 nir_ssa_def *htile_pitch = nir_channel(&b, constants, 0);
61 nir_ssa_def *htile_slice_size = nir_channel(&b, constants, 1);
62 nir_ssa_def *read_htile_value = nir_channel(&b, constants, 2);
286 const unsigned constants[3] = { local
292 VK_SHADER_STAGE_COMPUTE_BIT, 0, 12, constants); local
radv_meta_dcc_retile.c 269 uint32_t constants[] = { local
277 constants); local
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
loop_analysis.h 71 exec_list constants; member in class:loop_variable_state
137 /** Are all variables in the RHS of the assignment loop constants? */
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_linear.c 90 uint8_t constants[LP_MAX_LINEAR_CONSTANTS][4]; local
115 float val = state->jit_context.constants[0][i*4+j];
121 constants[i][j] = (uint8_t)(val * 255.0f);
124 jit.constants = (const uint8_t (*)[4])constants;
218 uint8_t constants[LP_MAX_LINEAR_CONSTANTS][4]; local
227 jit.constants = (const uint8_t (*)[4])constants;
289 debug_printf(" -- too many inputs/constants\n");
lp_state_cs.h 136 /** compute shader constants */
141 } constants[LP_MAX_TGSI_CONST_BUFFERS]; member in struct:lp_cs_context
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
loop_analysis.h 71 exec_list constants; member in class:loop_variable_state
137 /** Are all variables in the RHS of the assignment loop constants? */
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
r300_fs.c 245 unsigned imm_end = generic_code->constants.Count;
246 struct rc_constant *constants = generic_code->constants.Constants; local
286 if (constants[i].Type == RC_CONSTANT_IMMEDIATE) {
287 const float *data = constants[i].u.Immediate;
396 if (constants[i].Type == RC_CONSTANT_IMMEDIATE) {
397 const float *data = constants[i].u.Immediate;
479 compiler.Base.Program.Constants.Count > 200) {
525 /* Initialize numbers of constants for each type. *
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
zink_extensions.py 153 constants = None variable in class:ExtensionRegistryEntry
203 entry.constants = []
210 entry.constants.append(enum_name)
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/
vid_enc_common.c 465 uint32_t constants[4] = {def->nFrameHeight}; local
468 cb.buffer_size = sizeof(constants);
469 cb.user_buffer = constants;
  /xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
vs-test.c 63 static float constants[] = variable
88 templat.width0 = sizeof(constants);
101 u_box_2d(0,0,sizeof(constants),1, &box);
105 0, sizeof(constants), constants);
  /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
pan_blend.c 124 /* Only "homogenous" (scalar or vector with all components equal) constants are
128 pan_blend_is_homogenous_constant(unsigned mask, const float *constants)
130 float constant = pan_blend_get_constant(mask, constants);
133 if (constants[i] != constant)
500 const nir_const_value constants[4] = { local
508 nir_ssa_def *constant = nir_build_imm(b, 4, 32, constants);
616 (void *) state->constants);
711 !memcmp(iter->constants, state->constants, sizeof(iter->constants))) {
    [all...]

Completed in 22 milliseconds

1 2 3 4