Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_emit.c276 if (reg + 1 > ifs->num_constants) in i915_emit_const1f()
277 ifs->num_constants = reg + 1; in i915_emit_const1f()
314 if (reg + 1 > ifs->num_constants) in i915_emit_const2f()
315 ifs->num_constants = reg + 1; in i915_emit_const2f()
346 if (reg + 1 > ifs->num_constants) in i915_emit_const4f()
347 ifs->num_constants = reg + 1; in i915_emit_const4f()
Di915_fpc_translate.c93 fs->num_constants = 0; in i915_use_passthrough_shader()
868 ifs->num_constants = MAX2(ifs->num_constants, i + 1); in i915_translate_token()
910 ifs->num_constants = MAX2(ifs->num_constants, j + 1); in i915_translate_token()
961 ifs->num_constants = 0; in i915_init_compile()
1053 ifs->num_constants); in i915_fini_compile()
1107 mesa_logi("i915 fragment shader with %d constants%s", fs->num_constants, in i915_translate_fragment_program()
1108 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.c690 } else if (screen->specs.num_constants == 320) { in etna_determine_uniform_limits()
693 } else if (screen->specs.num_constants > 256 && in etna_determine_uniform_limits()
698 } else if (screen->specs.num_constants > 256) { in etna_determine_uniform_limits()
701 } else if (screen->specs.num_constants == 256) { in etna_determine_uniform_limits()
785 screen->specs.num_constants = val; in etna_get_specs()
Detnaviv_compiler_cmdline.c58 .num_constants = 168,
Detnaviv_internal.h145 unsigned num_constants; member
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.h157 int num_constants[LP_MAX_TGSI_CONST_BUFFERS]; member
443 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_linear.c107 nr_consts = state->jit_context.num_constants[0]; in lp_fs_linear_run()
Dlp_setup.c1289 const int num_constants = in try_update_scene_state() local
1292 setup->fs.current.jit_context.num_constants[i] = num_constants; in try_update_scene_state()
Dlp_state_cs.c1243 csctx->cs.current.jit_context.num_constants[i] = in update_csctx_consts()
1249 csctx->cs.current.jit_context.num_constants[i] = 0; in update_csctx_consts()
/third_party/mesa3d/src/imagination/vulkan/pds/
Dpvr_pds.c248 uint32_t num_constants, in pvr_pds_get_constants() argument
256 if (num_constants & 1) in pvr_pds_get_constants()
262 *count += constant + num_constants - *next_constant; in pvr_pds_get_constants()
265 *next_constant = constant + num_constants; in pvr_pds_get_constants()
267 assert((constant + num_constants) <= PVR_PDS_CONSTANTS_BLOCK_SIZE); in pvr_pds_get_constants()
644 uint32_t num_constants, in pvr_pds_get_bank_based_constants() argument
652 assert(num_constants == 1 || num_constants == 2); in pvr_pds_get_bank_based_constants()
655 return pvr_pds_get_constants(next_constant, num_constants, count); in pvr_pds_get_bank_based_constants()
660 if (num_constants == 1) in pvr_pds_get_bank_based_constants()
664 } else if (num_constants == 1) { in pvr_pds_get_bank_based_constants()
/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.c467 llvm->gs_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
484 llvm->tcs_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
501 llvm->tes_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
Ddraw_llvm.c410 LP_CHECK_MEMBER_OFFSET(struct draw_gs_jit_context, num_constants, in create_gs_jit_context_type()
584 LP_CHECK_MEMBER_OFFSET(struct draw_tcs_jit_context, num_constants, in create_tcs_jit_context_type()
685 LP_CHECK_MEMBER_OFFSET(struct draw_tes_jit_context, num_constants, in create_tes_jit_context_type()
/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()