Home
last modified time | relevance | path

Searched refs:numInputs (Results 1 – 25 of 33) sorted by relevance

12

/third_party/flutter/skia/src/gpu/
DGrPersistentCacheUtils.h26 int numInputs) { in PackCachedShaders() argument
29 SkASSERT(numInputs >= 1 && numInputs <= kGrShaderTypeCount); in PackCachedShaders()
35 writer.writePad(&inputs[SkTMin(i, numInputs - 1)], sizeof(SkSL::Program::Inputs)); in PackCachedShaders()
43 int numInputs) { in UnpackCachedShaders() argument
52 if (i < numInputs) { in UnpackCachedShaders()
/third_party/skia/src/gpu/
DGrPersistentCacheUtils.cpp32 int numInputs, in PackCachedShaders() argument
36 SkASSERT(numInputs >= 1 && numInputs <= kGrShaderTypeCount); in PackCachedShaders()
43 writer.writePad32(&inputs[std::min(i, numInputs - 1)], sizeof(SkSL::Program::Inputs)); in PackCachedShaders()
79 int numInputs, in UnpackCachedShaders() argument
89 if (i < numInputs) { in UnpackCachedShaders()
DGrPersistentCacheUtils.h35 int numInputs,
43 int numInputs,
/third_party/vk-gl-cts/framework/referencerenderer/
DrrShaders.hpp102 …VertexShader (size_t numInputs, size_t numOutputs) : m_inputs(numInputs), m_outputs(numOutputs) {} in VertexShader() argument
125 …FragmentShader (size_t numInputs, size_t numOutputs) : m_inputs(numInputs), m_outputs(numOutputs)… in FragmentShader() argument
/third_party/libxml2/fuzz/
DtestFuzzer.c68 int numInputs; variable
97 numInputs++; in testFuzzer()
184 printf("Successfully tested %d inputs\n", numInputs); in main()
/third_party/flutter/skia/tools/sk_app/win/
DWindow_win.cpp306 uint16_t numInputs = LOWORD(wParam); in WndProc() local
307 std::unique_ptr<TOUCHINPUT[]> inputs(new TOUCHINPUT[numInputs]); in WndProc()
308 if (GetTouchInputInfo((HTOUCHINPUT)lParam, numInputs, inputs.get(), in WndProc()
312 for (uint16_t i = 0; i < numInputs; ++i) { in WndProc()
/third_party/skia/tools/sk_app/win/
DWindow_win.cpp305 uint16_t numInputs = LOWORD(wParam); in WndProc() local
306 std::unique_ptr<TOUCHINPUT[]> inputs(new TOUCHINPUT[numInputs]); in WndProc()
307 if (GetTouchInputInfo((HTOUCHINPUT)lParam, numInputs, inputs.get(), in WndProc()
311 for (uint16_t i = 0; i < numInputs; ++i) { in WndProc()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_serialize.cpp124 blob_write_uint8(blob, info_out->numInputs); in nv50_ir_prog_info_out_serialize()
128 blob_write_bytes(blob, info_out->in, info_out->numInputs * sizeof(info_out->in[0])); in nv50_ir_prog_info_out_serialize()
244 info_out->numInputs = blob_read_uint8(&reader); in nv50_ir_prog_info_out_deserialize()
248 blob_copy_bytes(&reader, info_out->in, info_out->numInputs * sizeof(info_out->in[0])); in nv50_ir_prog_info_out_deserialize()
Dnv50_ir_print.cpp965 if (info_out->numInputs) { in nv50_ir_prog_info_out_print()
967 for (i = 0; i < info_out->numInputs; i++) { in nv50_ir_prog_info_out_print()
986 INFO(" \"numInputs\":\"%d\",\n", info_out->numInputs); in nv50_ir_prog_info_out_print()
Dnv50_ir_driver.h158 uint8_t numInputs; member
Dnv50_ir_target_nv50.cpp604 for (i = 0; i < info_out->numInputs; ++i) in parseDriverInfo()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.h48 GLuint numInputs,
Dst_glsl_to_tgsi.cpp6652 GLuint numInputs, in st_translate_program() argument
6671 assert(numInputs <= ARRAY_SIZE(t->inputs)); in st_translate_program()
6691 numInputs = 0; in st_translate_program()
6694 inputMapping[attr] = numInputs++; in st_translate_program()
6698 numInputs++; in st_translate_program()
6702 inputMapping[VERT_ATTRIB_EDGEFLAG] = numInputs; in st_translate_program()
6780 for (i = 0; i < numInputs; i++) { in st_translate_program()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp590 static void genInputData (const vector<Attribute>& attributes, int numInputs, int inputStride, deUi… in genInputData() argument
595 for (int ndx = 0; ndx < numInputs; ndx++) in genInputData()
608 for (int ndx = 0; ndx < numInputs; ndx++) in genInputData()
621 genAttributeData(*attrib, inputBasePtr, inputStride, numInputs, rnd); in genInputData()
684 static int getAttributeIndex (deUint32 primitiveType, int numInputs, int outNdx) in getAttributeIndex() argument
708 return inNdx < numInputs ? inNdx : 0; in getAttributeIndex()
717 …t (tcu::TestLog& log, deUint32 primitiveType, const Output& output, int numInputs, const deUint8* … in compareTransformFeedbackOutput() argument
729 int numOutputs = getTransformFeedbackOutputCount(primitiveType, numInputs); in compareTransformFeedbackOutput()
733 int inNdx = getAttributeIndex(primitiveType, numInputs, outNdx); in compareTransformFeedbackOutput()
1070 int numInputs = 0; //!< Sum of element counts in calls. in runTest() local
[all …]
Des3fShaderOperatorTests.cpp746 , numInputs (0) in ShaderDataSpec()
756 int numInputs; member
802 for (int i = 0; i < m_spec.numInputs; i++) in setupShaderData()
816 for (int i = 0; i < m_spec.numInputs; i++) in setupShaderData()
829 for (int i = 0; i < m_spec.numInputs; i++) in setupShaderData()
852 for (int i = 0; i < m_spec.numInputs; i++) in setupShaderData()
1047 for (int i = 0; i < m_spec.numInputs; i++) in setupShaderData()
1059 m_userAttribTransforms.resize(m_spec.numInputs); in setupShaderData()
1060 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData()
2158 shaderSpec.numInputs = 0;
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderOperatorTests.cpp394 , numInputs (0) in ShaderDataSpec()
402 int numInputs; member
433 for (int i = 0; i < spec.numInputs; i++) in ShaderOperatorCase()
444 for (int i = 0; i < spec.numInputs; i++) in ShaderOperatorCase()
454 for (int i = 0; i < spec.numInputs; i++) in ShaderOperatorCase()
472 for (int i = 0; i < spec.numInputs; i++) in ShaderOperatorCase()
555 for (int i = 0; i < spec.numInputs; i++) in ShaderOperatorCase()
567 m_userAttribTransforms.resize(spec.numInputs); in ShaderOperatorCase()
568 for (int inputNdx = 0; inputNdx < spec.numInputs; inputNdx++) in ShaderOperatorCase()
1296 shaderSpec.numInputs = 0;
[all …]
Des2fShaderMatrixTests.cpp782 int numInputs = (isOperationBinary(m_op)) ? (2) : (1); in init() local
824 for (int inNdx = 0; inNdx < numInputs; inNdx++) in init()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c47 for (i = 0; i < info->numInputs; ++i) { in nv50_vertprog_assign_slots()
63 prog->in_nr = info->numInputs; in nv50_vertprog_assign_slots()
152 for (m = 0, i = 0; i < info->numInputs; ++i) { in nv50_fragprog_assign_slots()
166 for (n = 0, i = 0; i < info->numInputs; ++i) { in nv50_fragprog_assign_slots()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.c98 for (n = 0, i = 0; i < info->numInputs; ++i) { in nvc0_vp_assign_input_slots()
123 for (i = 0; i < info->numInputs; ++i) { in nvc0_sp_assign_input_slots()
219 for (i = 0; i < info->numInputs; ++i) { in nvc0_vtgp_gen_header()
455 for (i = 0; i < info->numInputs; ++i) { in nvc0_fp_gen_header()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.hpp109 int numInputs; member
Des31fProgramInterfaceDefinitionUtil.cpp1742 retVal.numInputs = getNumTypeInstances(shader, glu::STORAGE_IN); in getShaderResourceUsage()
1779 retVal.numInputs += 1; in getShaderResourceUsage()
1791 retVal.numInputs += 1 * program->getTessellationNumOutputPatchVertices(); in getShaderResourceUsage()
1803 retVal.numInputs += 1 * program->getTessellationNumOutputPatchVertices(); in getShaderResourceUsage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp520 , numInputs (0) in ShaderDataSpec()
530 int numInputs; member
560 m_userAttribTransforms.resize(m_spec.numInputs); in ShaderOperatorCaseInstance()
561 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in ShaderOperatorCaseInstance()
678 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData()
692 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData()
705 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData()
723 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData()
807 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData()
1759 shaderSpec.numInputs = 0; in init()
[all …]
DvktShaderRenderMatrixTests.cpp1466 int numInputs = isOperationBinary(m_op) ? 2 : 1; in ShaderMatrixInstance() local
1468 for (int inNdx = 0; inNdx < numInputs; inNdx++) in ShaderMatrixInstance()
1573 const int numInputs = isOperationBinary(m_op) ? 2 : 1; in setupUniforms() local
1576 for (int inNdx = 0; inNdx < numInputs; inNdx++) in setupUniforms()
1675 int numInputs = (isOperationBinary(m_op)) ? (2) : (1); in setupShader() local
1750 for (int inNdx = 0; inNdx < numInputs; inNdx++) in setupShader()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_compiler.c83 for (i = 0; i < info->numInputs; ++i) { in dummy_assign_slots()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp2104 …erateVarLinkFragmentShaderSrc(std::string& outFragSrc, glu::GLSLVersion glslVersion, int numInputs) in generateVarLinkFragmentShaderSrc() argument
2112 switch (numInputs) in generateVarLinkFragmentShaderSrc()
2138 switch (numInputs) in generateVarLinkFragmentShaderSrc()
2468 for (int numInputs = 0; numInputs < maxVars; numInputs++) in iterate() local
2474 generateVarLinkFragmentShaderSrc(frag, m_glslVersion, numInputs); in iterate()
2498 if (numInputs == numOutputs) in iterate()

12