Hi all,
I'm having problems with the setting a variable in a nested if statement. It doesn't seem to change even if it mets the 'if' condition.
My script essentially looks for a user name from the output from a kerberos command.
When I find the user name, I tried to change a variable and exit... (6 Replies)
Hello I have some nested loop to display files and form menu item.
The part of the code is below.
I found that after runnining the script for a while the display becomes very slow.
Does ksh shell provided any easy way to release variables, reinit, etc.
while ];do
script=0
... (2 Replies)
Hi,
I have the following script which is two while loops, but it is working only for the Inner loop without going back to the outer loop.
the aim of this script is to remove data files from memory after each five times for each setting of the rotate parameter
#!/bin/csh
set hdir =... (1 Reply)
Hi,
How to use values in one for loop to other for loop.
say "$sf_rel" variable has values "2011/W2 2011/G2" I want to use these values in inner for loop to process properly.
$branch variable has G2 and 6
What is happening is outer for loop $i has 2011/W2 it is entering into inner... (3 Replies)
Greetings,
Would anyone be able to tell me why this nested loop doesn't seem to work in any variation?
for i in {1..8}
do
echo "i is "$i
for j in {1..i}
do
echo "j is "$j
done
doneoutput is always along the lines of
i is 1... (7 Replies)
Hi Team,
I just want to check whether my nested if loop used is correct or not.
if ]
if ]
export1
else
export2
fi
else
if ]
export3
else
export4
fi
fi
Thanks
Shiva (5 Replies)
Hi All,
Need help on below script
for g in `cat /home/sid.txt`
do
for h in `cat /home/dev.txt`
do
symmaskdb -sid $g -dev $h list assign |grep FA |head -1|awk '{print $2}' > tt1.txt
done
done
cat /home/sid.txt
**************
123
235
456 (5 Replies)
I have a MPI program like this:
void slave1(int j){
MPI_Status status;
MPI_Recv(&j,1,MPI_INT,0,0,MPI_COMM_WORLD,&status);}
void slave2(int j){
MPI_Status status;
MPI_Recv(&j,1,MPI_INT,0,1,MPI_COMM_WORLD,&status);}
int main(int argc, char *argv){
int numprocs, rank;
... (0 Replies)
Discussion started by: wanliushao
0 Replies
LEARN ABOUT DEBIAN
glvertexattribdivisor
GLVERTEXATTRIBDIVISO(3G) [FIXME: manual] GLVERTEXATTRIBDIVISO(3G)NAME
glVertexAttribDivisor - modify the rate at which generic vertex attributes advance during instanced rendering
C SPECIFICATION
void glVertexAttribDivisor(GLuint index, GLuint divisor);
PARAMETERS
index
Specify the index of the generic vertex attribute.
divisor
Specify the number of instances that will pass between updates of the generic attribute at slot index.
DESCRIPTION
glVertexAttribDivisor modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives in a
single draw call. If divisor is zero, the attribute at slot index advances once per vertex. If divisor is non-zero, the attribute advances
once per divisor instances of the set(s) of vertices being rendered. An attribute is referred to as instanced if its
GL_VERTEX_ATTRIB_ARRAY_DIVISOR value is non-zero.
index must be less than the value of GL_MAX_VERTEX_ATTRIBUTES.
NOTES
glVertexAttribDivisor is available only if the GL version is 3.3 or higher.
ERRORS
GL_INVALID_VALUE is generated if index is greater than or equal to the value of GL_MAX_VERTEX_ATTRIBUTES.
SEE ALSO
glVertexAttribPointer(), glEnableVertexAttribArray(), glDisableVertexAttribArray()
COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
[FIXME: source] 05/30/2012 GLVERTEXATTRIBDIVISO(3G)