search for: emitload

Displaying 11 results from an estimated 11 matches for "emitload".

2016 Mar 16
0
[PATCH mesa 3/6] nouveau: codegen: gk110: Make emitSTORE offset handling identical to emitLOAD
Make the store offset handling in CodeEmitterGK110::emitSTORE identical to the one in CodeEmitterGK110::emitLOAD handling. This is just a cleanup, it does not cause any functional changes. Signed-off-by: Hans de Goede <hdegoede at redhat.com> --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gallium/drivers/nouvea...
2015 Jul 08
2
[PATCH 2/2] nv50/ir: fix a compiler warning with debug-only code
On 8 July 2015 at 19:27, Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de> wrote: > codegen/nv50_ir_emit_nv50.cpp: In member function > ‘void nv50_ir::CodeEmitterNV50::emitLOAD(const nv50_ir::Instruction*)’: > codegen/nv50_ir_emit_nv50.cpp:620:12: warning: unused variable ‘offset’ > [-Wunused-variable] > int32_t offset = i->getSrc(0)->reg.data.offset; > > Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de> > --- &gt...
2016 Mar 16
2
[PATCH mesa 5/6] nouveau: codegen: Add support for OpenCL global memory buffers
...getFile() == FILE_MEMORY_BUFFER || > + i->src(0).getFile() == FILE_MEMORY_GLOBAL) && > i->src(0).isIndirect(0) && > i->getIndirect(0, 0)->reg.size == 8) > code[1] |= 1 << 23; > @@ -1690,8 +1698,15 @@ CodeEmitterGK110::emitLOAD(const Instruction *i) > int32_t offset = SDATA(i->src(0)).offset; > > switch (i->src(0).getFile()) { > - case FILE_MEMORY_BUFFER: code[1] = 0xc0000000; code[0] = 0x00000000; break; > - case FILE_MEMORY_LOCAL: code[1] = 0x7a000000; code[0] = 0x00000002; break; &gt...
2016 Mar 16
13
[PATCH mesa 1/6] tgsi_build: Fix return of uninitialized memory in tgsi_*_instruction_memory
tgsi_default_instruction_memory / tgsi_build_instruction_memory were returning uninitialized memory for tgsi_instruction_memory.Texture and tgsi_instruction_memory.Format. Note 0 means not set, and thus is a correct default initializer for these. Fixes: 3243b6fc97 ("tgsi: add Texture and Format to tgsi_instruction_memory") Cc: Nicolai Hähnle <nicolai.haehnle at amd.com>
2015 Jul 08
5
[PATCH 1/2] nouveau/compiler: fix trivial compiler warnings
nouveau_compiler.c: In function ‘main’: nouveau_compiler.c:216:27: warning: ‘code’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%08x ", code[i / 4]); ^ nouveau_compiler.c:215:4: warning: ‘size’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (i = 0; i < size; i += 4) { Signed-off-by: Tobias
2016 Mar 16
0
[PATCH mesa 5/6] nouveau: codegen: Add support for OpenCL global memory buffers
...& + if ((i->src(0).getFile() == FILE_MEMORY_BUFFER || + i->src(0).getFile() == FILE_MEMORY_GLOBAL) && i->src(0).isIndirect(0) && i->getIndirect(0, 0)->reg.size == 8) code[1] |= 1 << 23; @@ -1690,8 +1698,15 @@ CodeEmitterGK110::emitLOAD(const Instruction *i) int32_t offset = SDATA(i->src(0)).offset; switch (i->src(0).getFile()) { - case FILE_MEMORY_BUFFER: code[1] = 0xc0000000; code[0] = 0x00000000; break; - case FILE_MEMORY_LOCAL: code[1] = 0x7a000000; code[0] = 0x00000002; break; + case FILE_MEMORY_BUFFER:...
2016 Mar 16
2
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...tFile() == FILE_MEMORY_GLOBAL && > + if (i->src(0).getFile() == FILE_MEMORY_BUFFER && > i->src(0).isIndirect(0) && > i->getIndirect(0, 0)->reg.size == 8) > code[1] |= 1 << 23; > @@ -1690,7 +1690,7 @@ CodeEmitterGK110::emitLOAD(const Instruction *i) > int32_t offset = SDATA(i->src(0)).offset; > > switch (i->src(0).getFile()) { > - case FILE_MEMORY_GLOBAL: code[1] = 0xc0000000; code[0] = 0x00000000; > break; > + case FILE_MEMORY_BUFFER: code[1] = 0xc0000000; code[0] = 0x00000000; > br...
2016 Mar 16
0
[PATCH mesa 5/6] nouveau: codegen: Add support for OpenCL global memory buffers
...MORY_BUFFER || >> + i->src(0).getFile() == FILE_MEMORY_GLOBAL) && >> i->src(0).isIndirect(0) && >> i->getIndirect(0, 0)->reg.size == 8) >> code[1] |= 1 << 23; >> @@ -1690,8 +1698,15 @@ CodeEmitterGK110::emitLOAD(const Instruction *i) >> int32_t offset = SDATA(i->src(0)).offset; >> >> switch (i->src(0).getFile()) { >> - case FILE_MEMORY_BUFFER: code[1] = 0xc0000000; code[0] = 0x00000000; break; >> - case FILE_MEMORY_LOCAL: code[1] = 0x7a000000; code[0] = 0x...
2016 Mar 16
0
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...; - if (i->src(0).getFile() == FILE_MEMORY_GLOBAL && + if (i->src(0).getFile() == FILE_MEMORY_BUFFER && i->src(0).isIndirect(0) && i->getIndirect(0, 0)->reg.size == 8) code[1] |= 1 << 23; @@ -1690,7 +1690,7 @@ CodeEmitterGK110::emitLOAD(const Instruction *i) int32_t offset = SDATA(i->src(0)).offset; switch (i->src(0).getFile()) { - case FILE_MEMORY_GLOBAL: code[1] = 0xc0000000; code[0] = 0x00000000; break; + case FILE_MEMORY_BUFFER: code[1] = 0xc0000000; code[0] = 0x00000000; break; case FILE_MEMORY_LOCAL:...
2016 Mar 16
0
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...GLOBAL && >> + if (i->src(0).getFile() == FILE_MEMORY_BUFFER && >> i->src(0).isIndirect(0) && >> i->getIndirect(0, 0)->reg.size == 8) >> code[1] |= 1 << 23; >> @@ -1690,7 +1690,7 @@ CodeEmitterGK110::emitLOAD(const Instruction *i) >> int32_t offset = SDATA(i->src(0)).offset; >> >> switch (i->src(0).getFile()) { >> - case FILE_MEMORY_GLOBAL: code[1] = 0xc0000000; code[0] = 0x00000000; >> break; >> + case FILE_MEMORY_BUFFER: code[1] = 0xc0000000; cod...
2014 Jan 13
20
[PATCH 00/19] nv50: add sampler2DMS/GP support to get OpenGL 3.2
OK, so there's a bunch of stuff in here. The geometry stuff is based on the work started by Bryan Cain and Christoph Bumiller. Patches 01-12: Add support for geometry shaders and fix related issues Patches 13-14: Make it possible for fb clears to operate on texture attachments with an explicit layer set (as is allowed in gl 3.2). Patches 15-17: Make ARB_texture_multisample work