Home
last modified time | relevance | path

Searched refs:num_constants (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_emit.c287 if (reg + 1 > ifs->num_constants) in i915_emit_const1f()
288 ifs->num_constants = reg + 1; in i915_emit_const1f()
325 if (reg + 1 > ifs->num_constants) in i915_emit_const2f()
326 ifs->num_constants = reg + 1; in i915_emit_const2f()
357 if (reg + 1 > ifs->num_constants) in i915_emit_const4f()
358 ifs->num_constants = reg + 1; in i915_emit_const4f()
Di915_fpc_translate.c93 fs->num_constants = 0; in i915_use_passthrough_shader()
781 ifs->num_constants = MAX2(ifs->num_constants, i + 1); in i915_translate_token()
823 ifs->num_constants = MAX2(ifs->num_constants, j + 1); in i915_translate_token()
874 ifs->num_constants = 0; in i915_init_compile()
964 p->nr_tex_insn, p->nr_tex_indirect, ifs->num_constants); in i915_fini_compile()
1018 mesa_logi("i915 fragment shader with %d constants%s", fs->num_constants, in i915_translate_fragment_program()
1019 fs->num_constants ? ":" : ""); in i915_translate_fragment_program()
Di915_state_emit.c321 int nr = i915->fs->num_constants ? 2 + 4 * i915->fs->num_constants : 0; in validate_constants()
332 const uint32_t nr = i915->fs->num_constants; in emit_constants()
Di915_context.h114 uint32_t num_constants; member
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c686 } else if (screen->specs.num_constants == 320) { in etna_determine_uniform_limits()
689 } else if (screen->specs.num_constants > 256 && in etna_determine_uniform_limits()
694 } else if (screen->specs.num_constants > 256) { in etna_determine_uniform_limits()
697 } else if (screen->specs.num_constants == 256) { in etna_determine_uniform_limits()
781 screen->specs.num_constants = val; in etna_get_specs()
Detnaviv_compiler_cmdline.c58 .num_constants = 168,
Detnaviv_internal.h141 unsigned num_constants; member
Detnaviv_compiler_tgsi.c2295 if (c->imm_base > c->specs->num_constants) { in etna_compile_check_limits()
2297 c->specs->num_constants); in etna_compile_check_limits()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.h154 int num_constants[LP_MAX_TGSI_CONST_BUFFERS]; member
437 int num_constants[LP_MAX_TGSI_CONST_BUFFERS]; member
Dlp_jit.c252 LP_CHECK_MEMBER_OFFSET(struct lp_jit_context, num_constants, in lp_jit_create_types()
474 LP_CHECK_MEMBER_OFFSET(struct lp_jit_cs_context, num_constants, in lp_jit_create_cs_types()
Dlp_setup.c1269 int num_constants; in try_update_scene_state() local
1315 num_constants = in try_update_scene_state()
1317 setup->fs.current.jit_context.num_constants[i] = num_constants; in try_update_scene_state()
Dlp_state_cs.c1215 csctx->cs.current.jit_context.num_constants[i] = in update_csctx_consts()
1221 csctx->cs.current.jit_context.num_constants[i] = 0; in update_csctx_consts()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h265 int num_constants[LP_MAX_TGSI_CONST_BUFFERS]; member
346 int num_constants[LP_MAX_TGSI_CONST_BUFFERS]; member
400 int num_constants[LP_MAX_TGSI_CONST_BUFFERS]; member
Ddraw_pt_fetch_shade_pipeline_llvm.c475 llvm->gs_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
492 llvm->tcs_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
509 llvm->tes_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
Ddraw_llvm.c420 LP_CHECK_MEMBER_OFFSET(struct draw_gs_jit_context, num_constants, in create_gs_jit_context_type()
594 LP_CHECK_MEMBER_OFFSET(struct draw_tcs_jit_context, num_constants, in create_tcs_jit_context_type()
696 LP_CHECK_MEMBER_OFFSET(struct draw_tes_jit_context, num_constants, in create_tes_jit_context_type()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp961 uint32_t *num_constants; in swr_update_constants() local
967 num_constants = pDC->num_constantsVS; in swr_update_constants()
972 num_constants = pDC->num_constantsFS; in swr_update_constants()
977 num_constants = pDC->num_constantsGS; in swr_update_constants()
982 num_constants = pDC->num_constantsTCS; in swr_update_constants()
987 num_constants = pDC->num_constantsTES; in swr_update_constants()
997 num_constants[i] = cb->buffer_size; in swr_update_constants()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c1843 unsigned num_constants = opcode.src[0].base.index[1].imm; in Shader_tgsi_translate() local
1847 if (num_constants == 0) { in Shader_tgsi_translate()
1848 num_constants = SHADER_MAX_CONSTS; in Shader_tgsi_translate()
1850 assert(num_constants <= SHADER_MAX_CONSTS); in Shader_tgsi_translate()
1855 num_constants - 1, in Shader_tgsi_translate()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_c.h958 size_t *num_constants);
Dspirv_cross_c.cpp2276 size_t *num_constants) in spvc_compiler_get_specialization_constants() argument
2292 *num_constants = ptr->buffer.size(); in spvc_compiler_get_specialization_constants()
Dspirv_glsl.cpp3733 uint32_t num_constants = uint32_t(c.subconstants.size()); in emit_output_variable_initializer() local
3734 for (uint32_t i = 0; i < num_constants; i++) in emit_output_variable_initializer()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp5867 int num_constants; member
6088 src = src_reg->index < t->num_constants ? in translate_src()
6096 src = src_reg->index >= 0 && src_reg->index < t->num_constants ? in translate_src()
6959 t->num_constants = proginfo->Parameters->NumParameters; in st_translate_program()
7082 t->num_constants = 0; in st_translate_program()
/third_party/boost/tools/build/src/engine/
Dfunction.cpp194 int num_constants; member
1547 result->num_constants = c->constants->size; in compile_to_function()
3791 for ( i = 0; i < func->num_constants; ++i ) in function_free()