search for: fcol

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

Did you mean: col
2009 Jun 21
0
[PATCH] nv50: add support for two-sided lighting
...lium/drivers/nv50/nv50_program.c index 7a4bc18..30a1d32 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -1779,7 +1779,7 @@ nv50_program_tx_prep(struct nv50_pc *pc) struct tgsi_parse_context p; boolean ret = FALSE; unsigned i, c; - unsigned fcol, bcol, fcrd, depr; + unsigned fcol[2], bcol[2], fcrd, depr; /* count (centroid) perspective interpolations */ unsigned centroid_loads = 0; @@ -1791,7 +1791,9 @@ nv50_program_tx_prep(struct nv50_pc *pc) r_usage[0] = CALLOC(pc->temp_nr * 4, sizeof(unsigned)); r_usage[1] = CALLOC(pc->a...
2009 Sep 12
0
[PATCH 09/13] nv50: move allocation of pc regs
...pc->attr[n].acc = acc[n]; - pc->attr[n].rhw = pc->attr[n].hw = -1; alloc_reg(pc, &pc->attr[n]); pc->attr[n].rhw = (*aid)++; @@ -2025,23 +2007,13 @@ nv50_program_tx_prep(struct nv50_pc *pc) struct tgsi_parse_context p; boolean ret = FALSE; unsigned i, c; - unsigned fcol, bcol, fcrd, depr; + unsigned fcol, bcol, fcrd; /* count (centroid) perspective interpolations */ unsigned centroid_loads = 0; unsigned perspect_loads = 0; - /* track register access for temps and attrs */ - unsigned *r_usage[2]; - r_usage[0] = NULL; - r_usage[1] = NULL; - - depr = fcol =...
2011 Dec 08
0
Label margins in multiple perspective plots per page
...z0, z, z0), z0) x <- c(min(x) - 1e-10, x, max(x) + 1e-10) y <- c(min(y) - 1e-10, y, max(y) + 1e-10) fill <- matrix("seagreen", nr = nrow(z)-1, nc = ncol(z)-1) fill[ , i2 <- c(1,ncol(fill))] <- "grey" fill[i1 <- c(1,nrow(fill)) , ] <- "grey" fcol <- fill zi <- TPSSLmc[-1,-1] + TPSSLmc[ -1,-12] + TPSSLmc[-20,-1] + TPSSLmc[-20,-12] ## / 4 fcol[-i1,-i2] <- heat.colors(30)[cut(zi, quantile(zi, seq(0,1, len = 20)), include.lowest = TRUE)] persp(x, y, z, theta = 140, phi = 20, col = fcol, scal...
2009 Jun 21
0
[PATCH] nv50: update comments
...nt of temporaries used in VP + * + * 1904 = 0x01CCBBFF (01 is sometimes 00 - ?) + * CC = number of color components in map (primary + secondary) + * BB = first back color's map index (colors should be contiguous) + * FF = first front color's map index * - * 0x1298 --> "MOV rcol.x, fcol.y" "MOV depr, fcol.y" = 0x00000005 - * "MOV rcol.x, fcol.y" = 0x00000004 - * 0x19a8 --> as above but 0x00000100 and 0x00000000 - * - 0x00100000 used when KIL used - * 0x196c --> as above but 0x00000011 and 0x00000000 + * 1908 = 0x0000HHLL + * LL = first clippi...
2009 Sep 12
0
[PATCH 10/13] nv50: proper linkage between VP and FP
...an't be skipped. + */ } - return mask; + emit_interp(pc, reg, iv, mode); } static boolean nv50_program_tx_prep(struct nv50_pc *pc) { - struct tgsi_parse_context p; + struct tgsi_parse_context tp; + struct nv50_program *p = pc->p; boolean ret = FALSE; - unsigned i, c; - unsigned fcol, bcol, fcrd; - - /* count (centroid) perspective interpolations */ - unsigned centroid_loads = 0; - unsigned perspect_loads = 0; + unsigned i, c, flat_nr = 0; - fcol = bcol = fcrd = ~0; + tgsi_parse_init(&tp, pc->p->pipe.tokens); + while (!tgsi_parse_end_of_tokens(&tp)) { + const u...
2004 Nov 17
1
frailty and time-dependent covariate
...00+D4500+frailty.gaussian(ID),data=SURV1) Warning messages: 1: Inner loop failed to coverge for iterations 1 3 in: coxpenal.fit(X, Y, strats, offset, init = init, control, weights = weights, 2: longer object length is not a multiple of shorter object length in: offset + coxfit$fcoef[x[, fcol]] 3: X matrix deemed to be singular; variable 8 in: coxph(Surv(DATA_INI1, DATA_FIN1, EVENT1) ~ V1 + V2 + alt1 + alt2 + [[alternative HTML version deleted]]
2010 Nov 25
1
Help in improving the style of R plots
...rs to the second decimal digit. This is how I have been trying so far: text(min(mchain[1,]),max(ndensity$y),substitute( Log(Surface)[med] ==nmed%+-%nstd,list(nmed=nmed,nstd=nstd) ),pos=4 ) -) plot (c): ticks, annotations and labels overlap, but they shouldn't. Here is the code: persp(d,col=fcol,zlim=zlim,theta=theta,phi=phi,zlab="density",xlab=xlab,ylab=ylab,main="",sub="(c)",ticktype="detailed") -) plot (e) and (f): I need to cancel plot (f) and place plot (e) at the center of the bottom row -) when I close the R session, the content of the PS f...
2009 May 06
2
nv50: shader generation patches
Hi ! I've been trying to improve NV50 shader generation a bit the last couple of weeks, so here is what I've produced. I don't know if it's usable for you or just a pile of horrible hacks, but at least it makes some mesa demos render more correcly, p.e. the teapot (aside from mip-mapping issues of the floor texture), arbfplight, and I think the gears also didn't appear as they
2007 Nov 26
3
Time Series Issues, Stationarity ..
Hello, I am very new to R and Time Series. I need some help including R codes about the following issues. I' ll really appreciate any number of answers... # I have a time series data composed of 24 values: myinput = c(n1,n2...,n24); # In order to make a forecasting a, I use the following codes result1 = arima(ts(myinput),order = c(p,d,q),seasonal = list(order=c(P,D,Q))) result2 =