Home
last modified time | relevance | path

Searched refs:codeSize (Results 1 – 25 of 67) sorted by relevance

123

/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_shader_module.h29 size += vn_sizeof_size_t(&val->codeSize); in vn_sizeof_VkShaderModuleCreateInfo_self()
31 size += vn_sizeof_array_size(val->codeSize / 4); in vn_sizeof_VkShaderModuleCreateInfo_self()
32 size += vn_sizeof_uint32_t_array(val->pCode, val->codeSize / 4); in vn_sizeof_VkShaderModuleCreateInfo_self()
63 vn_encode_size_t(enc, &val->codeSize); in vn_encode_VkShaderModuleCreateInfo_self()
65 vn_encode_array_size(enc, val->codeSize / 4); in vn_encode_VkShaderModuleCreateInfo_self()
66 vn_encode_uint32_t_array(enc, val->pCode, val->codeSize / 4); in vn_encode_VkShaderModuleCreateInfo_self()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DGlyfEncoder.java90 int codeSize = glyph.instructionSize(); in writeInstructions() local
92 write255UShort(glyfStream, codeSize); in writeInstructions()
93 if (codeSize > 0) { in writeInstructions()
296 int codeSize = instrSize - i; in splitPush() local
298 write255UShort(glyfStream, codeSize); in splitPush()
300 if (codeSize > 0) { in splitPush()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_target.cpp188 codeSize(0), codeSizeLimit(0), relocInfo(NULL), fixupInfo(NULL) in CodeEmitter()
196 codeSize = 0; in setCodeLocation()
203 uint32_t *bin = code - codeSize / 4; in printBinary()
204 INFO("program binary (%u bytes)", codeSize); in printBinary()
205 for (unsigned int pos = 0; pos < codeSize / 4; ++pos) { in printBinary()
420 relocInfo->entry[n].offset = codeSize + w * 4; in addReloc()
444 fixupInfo->entry[n] = FixupEntry(apply, ipa, reg, codeSize >> 2); in addInterp()
Dnv50_ir_serialize.cpp71 blob_write_uint32(blob, info_out->bin.codeSize); in nv50_ir_prog_info_out_serialize()
72 blob_write_bytes(blob, info_out->bin.code, info_out->bin.codeSize); in nv50_ir_prog_info_out_serialize()
172 info_out->bin.codeSize = blob_read_uint32(&reader); in nv50_ir_prog_info_out_deserialize()
173 info_out->bin.code = (uint32_t *)MALLOC(info_out->bin.codeSize); in nv50_ir_prog_info_out_deserialize()
174 blob_copy_bytes(&reader, info_out->bin.code, info_out->bin.codeSize); in nv50_ir_prog_info_out_deserialize()
Dnv50_ir_target.h108 inline uint32_t getCodeSize() const { return codeSize; } in getCodeSize()
128 uint32_t codeSize; variable
Dnv50_ir_emit_gm107.cpp555 emitField(0x14, 24, pos - (codeSize + 8)); in emitBRA()
577 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitCAL()
601 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitPCNT()
623 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitPBK()
645 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitPRET()
667 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitSSY()
3403 const unsigned int size = (writeIssueDelays && !(codeSize & 0x1f)) ? 16 : 8; in emitInstruction()
3412 if (codeSize + size > codeSizeLimit) { in emitInstruction()
3418 int n = ((codeSize & 0x1f) / 8) - 1; in emitInstruction()
3424 codeSize += 8; in emitInstruction()
[all …]
Dnv50_ir_emit_gk110.cpp1565 int32_t pcRel = f->target.fn->binPos - (codeSize + 8); in emitFlow()
1571 int32_t pcRel = f->target.bb->binPos - (codeSize + 8); in emitFlow()
2476 const unsigned int size = (writeIssueDelays && !(codeSize & 0x3f)) ? 16 : 8; in emitInstruction()
2483 if (codeSize + size > codeSizeLimit) { in emitInstruction()
2489 int id = (codeSize & 0x3f) / 8 - 1; in emitInstruction()
2495 codeSize += 8; in emitInstruction()
2772 codeSize += 8; in emitInstruction()
2801 codeSize = codeSizeLimit = 0; in CodeEmitterGK110()
Dnv50_ir_driver.h147 uint32_t codeSize; member
Dnv50_ir_emit_nvc0.cpp1527 int32_t pcRel = f->target.fn->binPos - (codeSize + 8); in emitFlow()
1533 int32_t pcRel = f->target.bb->binPos - (codeSize + 8); in emitFlow()
2657 if (writeIssueDelays && !(codeSize & 0x3f)) in emitInstruction()
2664 if (codeSize + size > codeSizeLimit) { in emitInstruction()
2670 if (!(codeSize & 0x3f)) { in emitInstruction()
2674 codeSize += 8; in emitInstruction()
2676 const unsigned int id = (codeSize & 0x3f) / 8 - 1; in emitInstruction()
2956 codeSize += insn->encSize; in emitInstruction()
3527 codeSize = codeSizeLimit = 0; in CodeEmitterNVC0()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_shader_module.c47 sizeof(*module) + pCreateInfo->codeSize, in vk_common_CreateShaderModule()
52 module->size = pCreateInfo->codeSize; in vk_common_CreateShaderModule()
80 _mesa_sha1_compute(pCreateInfo->pCode, pCreateInfo->codeSize, in vk_common_GetShaderModuleCreateInfoIdentifierEXT()
Dvk_pipeline.c104 spirv_size = minfo->codeSize; in vk_pipeline_shader_stage_to_nir()
181 _mesa_sha1_compute(minfo->pCode, minfo->codeSize, spirv_sha1); in vk_pipeline_hash_shader_stage()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkShaderModule.cpp24 : binary(pCreateInfo->pCode, pCreateInfo->codeSize / sizeof(uint32_t)) in ShaderModule()
/third_party/node/deps/v8/tools/system-analyzer/log/
Dcode.mjs27 instructionStart, codeSize, inliningId) { argument
34 this._codeSize = codeSize;
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_NV_glsl_shader.txt53 vertexShaderInfo.codeSize = sizeof vss;
/third_party/skia/src/gpu/vk/
DGrVkUtil.cpp131 moduleCreateInfo.codeSize = spirv.size(); in GrInstallVkShaderModule()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_read_image.cpp530 int32 codeSize = fCodeSize; in GetCodeWord() local
532 code = fBitBuffer >> (32 - codeSize); in GetCodeWord()
534 if (fBitBufferCount >= codeSize) in GetCodeWord()
539 fBitBuffer <<= codeSize; in GetCodeWord()
540 fBitBufferCount -= codeSize; in GetCodeWord()
583 const int32 bitsUsed = codeSize - bitsSoFar; in GetCodeWord()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_compiler.c134 *size = info_out.bin.codeSize; in nouveau_codegen()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttinterp.h185 FT_Long codeSize; /* size of current range */ member
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DShaderModuleVk.cpp182 createInfo.codeSize = spirv.size() * sizeof(uint32_t); in GetTransformedModuleHandle()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c404 prog->code_size = info_out.bin.codeSize; in nv50_program_translate()
462 info_out.bin.codeSize); in nv50_program_translate()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkutils.c511 .codeSize = size, in gst_vulkan_create_shader()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCreationFeedbackTests.cpp252 deUint32 codeSize = (deUint32)m_context.getBinaryCollection().get(sourceName).getSize(); in bindShaderStage() local
259 codeSize, // deUintptr codeSize; in bindShaderStage()
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp45 spirvDesc.codeSize = static_cast<uint32_t>(spirv->wordCount); in CreateShaderModuleFromASM()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp1006 std::vector<uint32_t> spirv(spirvDesc->code, spirvDesc->code + spirvDesc->codeSize); in ValidateShaderModuleDescriptor()
1025 std::vector<uint32_t> spirv(spirvDesc->code, spirvDesc->code + spirvDesc->codeSize); in ValidateShaderModuleDescriptor()
1184 mOriginalSpirv.assign(spirvDesc->code, spirvDesc->code + spirvDesc->codeSize); in ShaderModuleBase()
/third_party/node/deps/v8/tools/system-analyzer/
Dprocessor.mjs338 timestamp, codeSize, instructionStart, inliningId, scriptOffset, argument
344 scriptOffset, instructionStart, codeSize, inliningId);

123