search for: isarray

Displaying 20 results from an estimated 20 matches for "isarray".

Did you mean: inarray
2014 Aug 08
2
[PATCH 1/3] nvc0/ir: add base tex offset for fermi indirect tex case
...} + if (tscRel) { i->setSrc(i->tex.sIndirectSrc, NULL); + if (i->tex.s) + tscRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), + tscRel, bld.mkImm(i->tex.s)); + } Value *arrayIndex = i->tex.target.isArray() ? i->getSrc(lyr) : NULL; for (int s = dim; s >= 1; --s) -- 1.8.5.5
2014 Mar 20
0
[PATCH] nvc0/ir: move sample id to second source arg to fix sampler2DMS
...lemented\n"); } @@ -697,7 +698,7 @@ NVC0LoweringPass::handleTEX(TexInstruction *i) } } else // (nvc0) generate and move the tsc/tic/array source to the front - if (dim != arg || i->tex.rIndirectSrc >= 0 || i->tex.sIndirectSrc >= 0) { + if (i->tex.target.isArray() || i->tex.rIndirectSrc >= 0 || i->tex.sIndirectSrc >= 0) { LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa Value *arrayIndex = i->tex.target.isArray() ? i->getSrc(lyr) : NULL; @@ -728,6 +729,12 @@ NVC0LoweringPass::handleTEX(TexInstruction *i) i-&g...
2006 Jun 20
4
Prototype Array bug??
function CreateTOC(){ var $aTOC = document.getElementsByClassName(''tocitem''); var $temp = ''''; if(isArray($aTOC)){ for($t in $aTOC){ $temp += ''t='' + $t + '', '' + $aTOC[$t].name + ''<BR>''; } $(''test1'').innerHTML = $temp; } } When I run this code as you see it, this is the result: t=indexOf, und...
2007 Dec 12
0
[LLVMdev] opt does not load poolalloc
...y) @@ -45,6 +45,9 @@ const Type *PoolAllocate::PoolDescPtrTy = 0; +char PoolAllocate::ID = 0; +char PoolAllocatePassAllPools::ID = 0; + #if 0 #define TIME_REGION(VARNAME, DESC) \ NamedRegionTimer VARNAME(DESC) @@ -647,9 +650,9 @@ DSNode *N = I; if ( #ifdef BOUNDS_CHECK - (N->isArray() || -#endif - (N->isHeapNode())) + N->isArray() || +#endif + N->isHeapNode()) if (GlobalsGraphNodeMapping.count(N)) { // If it is a global pool, set up the pool descriptor appropriately. DSNode *GGN = GlobalsGraphNodeMapping[N].getNode();
2014 Sep 25
0
[PATCH] gm107/ir: fix texture argument order
...leTEX(TexInstruction *i) // create it if it's not already there, and INSBF it if it already // is. s = (i->tex.rIndirectSrc >= 0) ? 1 : 0; + if (chipset >= NVISA_GM107_CHIPSET) + s += dim; if (i->tex.target.isArray()) { - bld.mkOp3(OP_INSBF, TYPE_U32, i->getSrc(0), + bld.mkOp3(OP_INSBF, TYPE_U32, i->getSrc(s), bld.loadImm(NULL, imm), bld.mkImm(0xc10), i->getSrc(s)); } else { diff --git a/src/gallium/drivers/n...
2014 Jul 05
1
[PATCH 1/2] nvc0/ir: use manual TXD when offsets are involved
Something about how we're implementing offsets for TXD is wrong, just flip to the generic quadop-based implementation in that case. This is the minimal fix appropriate for backporting. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> Cc: <mesa-stable at lists.freedesktop.org> --- src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 3 ++- 1 file changed, 2
2008 Apr 22
1
Problem with Prototype 1.6.0.2, Opera 9 and Form.serialize()
...value = $(element).getValue(); if (value != null && (element.type != "submit" || ! submitted && submit !== false && (! submit || key == submit) && (submitted = true))) { if (key in result) { if (! Object.isArray(result[key])) result[key] = [result[key]]; result[key].push(value); } else result[key] = value; } } return result; } )); Line 3408 of linked script https://...url.../prototype/prototype.js return Form.serializeEleme...
2017 Dec 20
2
[PATCH] gm107/ir: use lane 0 for manual textureGrad handling
...+ Value *crd[3], *arr, *shadow; Value *tmp; Instruction *tex, *add; - Value *zero = bld.loadImm(bld.getSSA(), 0); + Value *quad = bld.mkImm(SHFL_BOUND_QUAD); int l, c; const int dim = i->tex.target.getDim() + i->tex.target.isCube(); const int array = i->tex.target.isArray(); @@ -115,35 +112,40 @@ GM107LoweringPass::handleManualTXD(TexInstruction *i) for (c = 0; c < dim; ++c) crd[c] = bld.getScratch(); + arr = bld.getScratch(); + shadow = bld.getScratch(); tmp = bld.getScratch(); for (l = 0; l < 4; ++l) { Value *src[3], *val; -...
2007 Feb 12
6
prototype.js and different browsers
Hi I''m currently learning how AJAX is working and found prototype.js interesting. But I have some issues that might be because of misusage: http://brasilia.nersc.no/test/PyTest/AJAX.html When I use this in Firefox2 it correctly fills the first select, using opera9 it is filled, but it just shows a list of "blank" options (no description), and in IE6 it doesn''t get
2019 Oct 14
1
[PATCH] gm107/ir: fix loading z offset for layered 3d image bindings
...-NVC0LoweringPass::processSurfaceCoordsGM107(TexInstruction *su) +TexInstruction * +NVC0LoweringPass::processSurfaceCoordsGM107(TexInstruction *su, Instruction *ret[4]) { const int slot = su->tex.r; const int dim = su->tex.target.getDim(); - const int arg = dim + (su->tex.target.isArray() || su->tex.target.isCube()); + const bool array = su->tex.target.isArray() || su->tex.target.isCube(); + const int arg = dim + array; Value *ind = su->getIndirectR(); Value *handle; + Instruction *pred = NULL, *pred2d = NULL; int pos = 0; bld.setPosition(su, fa...
2013 Dec 08
0
[PATCH] nv50: TXF already has integer arguments, don't try to convert from f32
...b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp @@ -575,14 +575,16 @@ NV50LoweringPreSSA::handleTEX(TexInstruction *i) if (i->op == OP_TXB || i->op == OP_TXL) i->swapSources(dref, lod); - // array index must be converted to u32 if (i->tex.target.isArray()) { - Value *layer = i->getSrc(arg - 1); - LValue *src = new_LValue(func, FILE_GPR); - bld.mkCvt(OP_CVT, TYPE_U32, src, TYPE_F32, layer); - bld.mkOp2(OP_MIN, TYPE_U32, src, src, bld.loadImm(NULL, 511)); - i->setSrc(arg - 1, src); - + if (i->op != OP_TXF) { +...
2014 Jul 05
0
[PATCH] nvc0: do quadops on the right texture coordinates for TXD
...g_nvc0.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp @@ -712,6 +712,7 @@ NVC0LoweringPass::handleManualTXD(TexInstruction *i) Value *zero = bld.loadImm(bld.getSSA(), 0); int l, c; const int dim = i->tex.target.getDim(); + const int array = i->tex.target.isArray(); i->op = OP_TEX; // no need to clone dPdx/dPdy later @@ -722,7 +723,7 @@ NVC0LoweringPass::handleManualTXD(TexInstruction *i) for (l = 0; l < 4; ++l) { // mov coordinates from lane l to all lanes for (c = 0; c < dim; ++c) - bld.mkQuadop(0x00, crd[c], l,...
2017 Dec 20
0
[PATCH] gm107/ir: use lane 0 for manual textureGrad handling
...gt; Value *tmp; > Instruction *tex, *add; > - Value *zero = bld.loadImm(bld.getSSA(), 0); > + Value *quad = bld.mkImm(SHFL_BOUND_QUAD); > int l, c; > const int dim = i->tex.target.getDim() + i->tex.target.isCube(); > const int array = i->tex.target.isArray(); > @@ -115,35 +112,40 @@ GM107LoweringPass::handleManualTXD(TexInstruction *i) > > for (c = 0; c < dim; ++c) > crd[c] = bld.getScratch(); > + arr = bld.getScratch(); > + shadow = bld.getScratch(); > tmp = bld.getScratch(); > > for (l = 0; l &lt...
2006 Jun 21
3
getElementsByClassName
How should I expect the performance of this function to be? I wrote this code: function CreateTOC(){ var $aTOC = document.getElementsByClassName(''tocitem''); if(isArray($aTOC)){ $temp = ''<INPUT TYPE="SUBMIT" NAME="cmdSave_Update" VALUE="Close" CLASS="menubuttons"> ''; $temp += ''<INPUT TYPE="SUBMIT" NAME="cmdSave_Update" VALUE="Save_Update" CLASS="men...
2016 Aug 31
1
NODEJS010-NPM is not getting installed due to dependency errors on Custom Centos ISO installation
...s010-nodejs-inflight-1.0.4-2.el7.centos.noarch.rpm nodejs010-nodejs-inherits-2.0.0-13.el7.centos.noarch.rpm nodejs010-nodejs-ini-1.2.0-1.el7.centos.noarch.rpm nodejs010-nodejs-init-package-json-1.9.1-1.el7.centos.noarch.rpm nodejs010-nodejs-is-absolute-0.2.3-3.el7.centos.noarch.rpm nodejs010-nodejs-isarray-0.0.1-3.el7.centos.noarch.rpm nodejs010-nodejs-is-builtin-module-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-is-relative-0.2.1-2.el7.centos.noarch.rpm nodejs010-nodejs-is-unc-path-0.1.1-2.el7.centos.noarch.rpm nodejs010-nodejs-is-windows-0.1.0-3.el7.centos.noarch.rpm nodejs010-nodejs-jju-1.2.1-1...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...var p = [0,1].map(function(i){ - return (point[i]-pos[i]-this.offset[i]) + var p = [0,1].map(function(i){ + return (point[i]-pos[i]-this.offset[i]) }.bind(this)); if(this.options.snap) { @@ -478,10 +478,10 @@ var Draggable = Class.create({ } else { if(Object.isArray(this.options.snap)) { p = p.map( function(v, i) { - return (v/this.options.snap[i]).round()*this.options.snap[i] }.bind(this)) + return (v/this.options.snap[i]).round()*this.options.snap[i] }.bind(this)); } else { p = p.map( function(v) { - return...
2020 Aug 28
0
Wine release 5.16
...() on x64. wmc: Add Null facility. kernel32: Add string for E_NOTIMPL error. Piotr Caban (2): msvcrt: Fix acosf implementation when returning Pi or Pi/2. msvcrt: Optimize memmove implementation. Robert Wilhelm (3): vbscript: Implement Split. vbscript: Implement IsArray. vbscript: Support arrays in TypeName. Shawn M. Chapla (6): gdiplus: Remove outdated FIXME comment about compositing mode. gdiplus: Add missing allocation failure checks to graphics functions. gdiplus/tests: Add cursory GdipGetClipBoundsI checks to graphics clipping test....
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2018 Mar 02
0
Wine release 3.3
...shtml: Use SCRIPTLANGUAGEVERSION_5_7 for IE7 and IE5 compatibility mode. jscript: Introduce Wine-specific extension allowing IE9+ JavaScript mode implementation. mshtml: Use JScript extension for IE9+ mode support. jscript: Added Date.now implementation. jscript: Added Array.isArray implementation. jscript: Properly support missing array elements in stringify_array. jscript: Properly support missing array elements in Array.pop. jscript: Properly handle elisions in array literals. jscript: Renamed equal2_values to jsval_strict_equal. jscript: Added...
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