search for: nv50_ir_debug_basic

Displaying 9 results from an estimated 9 matches for "nv50_ir_debug_basic".

2017 Nov 14
3
[PATCH] nouveau/codegen: dump tgsi floats as hex values
.../src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp @@ -1095,7 +1095,7 @@ Source::Source(struct nv50_ir_prog_info *prog) : info(prog) tokens = (const struct tgsi_token *)info->bin.source; if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) - tgsi_dump(tokens, 0); + tgsi_dump(tokens, TGSI_DUMP_FLOAT_AS_HEX); } Source::~Source() -- 2.15.0
2017 Nov 14
2
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...;convertToSSA(); if (prog->dbgFlags & NV50_IR_DEBUG_VERBOSE) - prog->print(); + prog->print(info->omitLineNum); prog->optimizeSSA(info->optLevel); prog->getTarget()->runLegalizePass(prog, nv50_ir::CG_STAGE_SSA); if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) - prog->print(); + prog->print(info->omitLineNum); if (!prog->registerAllocation()) { ret = -4; diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.h b/src/gallium/drivers/nouveau/codegen/nv50_ir.h index f2ce16d882..a3c7fd2f94 100644 --- a/src/gallium/driver...
2017 Nov 15
2
[PATCH] nouveau/codegen: dump tgsi floats as hex values
...m_tgsi.cpp >> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp >> @@ -1095,7 +1095,7 @@ Source::Source(struct nv50_ir_prog_info *prog) : info(prog) >> tokens = (const struct tgsi_token *)info->bin.source; >> >> if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) >> - tgsi_dump(tokens, 0); >> + tgsi_dump(tokens, TGSI_DUMP_FLOAT_AS_HEX); >> } >> >> Source::~Source() >> -- >> 2.15.0 >> >> _______________________________________________ >> Nouveau mailing list >> Nouveau at li...
2017 Nov 17
2
[PATCH v2] nouveau/compiler: Allow to omit line numbers when printing instructions
...;convertToSSA(); if (prog->dbgFlags & NV50_IR_DEBUG_VERBOSE) - prog->print(); + prog->print(info->omitLineNum); prog->optimizeSSA(info->optLevel); prog->getTarget()->runLegalizePass(prog, nv50_ir::CG_STAGE_SSA); if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) - prog->print(); + prog->print(info->omitLineNum); if (!prog->registerAllocation()) { ret = -4; diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.h b/src/gallium/drivers/nouveau/codegen/nv50_ir.h index f2ce16d882..a3c7fd2f94 100644 --- a/src/gallium/driver...
2017 Nov 20
0
[PATCH v2] nouveau/compiler: Allow to omit line numbers when printing instructions
...;dbgFlags & NV50_IR_DEBUG_VERBOSE) > - prog->print(); > + prog->print(info->omitLineNum); > > prog->optimizeSSA(info->optLevel); > prog->getTarget()->runLegalizePass(prog, nv50_ir::CG_STAGE_SSA); > > if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) > - prog->print(); > + prog->print(info->omitLineNum); > > if (!prog->registerAllocation()) { > ret = -4; > diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.h b/src/gallium/drivers/nouveau/codegen/nv50_ir.h > index f2ce16d882..a3c7fd2...
2017 Nov 14
0
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...->dbgFlags & NV50_IR_DEBUG_VERBOSE) > - prog->print(); > + prog->print(info->omitLineNum); > > prog->optimizeSSA(info->optLevel); > prog->getTarget()->runLegalizePass(prog, nv50_ir::CG_STAGE_SSA); > > if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) > - prog->print(); > + prog->print(info->omitLineNum); > > if (!prog->registerAllocation()) { > ret = -4; > diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.h b/src/gallium/drivers/nouveau/codegen/nv50_ir.h > index f2ce16d882..a3c7fd2f9...
2017 Nov 15
0
[PATCH] nouveau/codegen: dump tgsi floats as hex values
...eau/codegen/nv50_ir_from_tgsi.cpp > +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp > @@ -1095,7 +1095,7 @@ Source::Source(struct nv50_ir_prog_info *prog) : info(prog) > tokens = (const struct tgsi_token *)info->bin.source; > > if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) > - tgsi_dump(tokens, 0); > + tgsi_dump(tokens, TGSI_DUMP_FLOAT_AS_HEX); > } > > Source::~Source() > -- > 2.15.0 > > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > https://lists.freedes...
2017 Nov 16
0
[PATCH] nouveau/codegen: dump tgsi floats as hex values
...> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp >>> @@ -1095,7 +1095,7 @@ Source::Source(struct nv50_ir_prog_info *prog) : >>> info(prog) >>> tokens = (const struct tgsi_token *)info->bin.source; >>> if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) >>> - tgsi_dump(tokens, 0); >>> + tgsi_dump(tokens, TGSI_DUMP_FLOAT_AS_HEX); >>> } >>> Source::~Source() >>> -- >>> 2.15.0 >>> >>> _______________________________________________ >>> Nouveau mailing li...
2016 Jan 14
0
[PATCH] nv50/ir: only use FILE_LOCAL_MEMORY for temp arrays that use indirection
...assing std::set<Location> locals; - bool mainTempsInLMem; + std::set<int> indirectTempArrays; + std::vector<int> tempArrayId; int clipVertexOutput; @@ -859,8 +874,6 @@ Source::Source(struct nv50_ir_prog_info *prog) : info(prog) if (prog->dbgFlags & NV50_IR_DEBUG_BASIC) tgsi_dump(tokens, 0); - - mainTempsInLMem = false; } Source::~Source() @@ -890,6 +903,7 @@ bool Source::scanSource() textureViews.resize(scan.file_max[TGSI_FILE_SAMPLER_VIEW] + 1); resources.resize(scan.file_max[TGSI_FILE_IMAGE] + 1); + tempArrayId.resize(scan.file_max[TGS...