01-21-2011
I do not want to sort the file, just want to make sure it is neat, if not ordered not to continue the validation process, it is understood, I think I explained very well
sorry
many thanks
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
actually, it seems somewhat confusing.. let me clearify it
i want a file having all the attributes produced by ls -lc command. i want to add one more thing i.e. time of last access to a file attribute. so how can i merge these two things in a single file in a columnar way.
i tried with these... (2 Replies)
Discussion started by: raku05
2 Replies
2. Shell Programming and Scripting
Wondering if someone could help me with this in any scripting/programming language. I have a list of ordered IP addresses and I want to unorder them. So for example, if I had a file like this:
111.111.111.110
111.111.111.111
111.111.111.112
111.111.111.113
111.111.111.114
I would want to... (4 Replies)
Discussion started by: kerpm
4 Replies
3. Shell Programming and Scripting
Perl:
Can anyone tell me why after I convert the hash into an array, when I print it out, it's not in the order like the hash? See below..
my %cityZip = ("Logan, AL", 35098,
"Los Angeles, CA", 90001,
"OrangeVille, IL", 61060,
"Palm Bay, FL",... (6 Replies)
Discussion started by: teiji
6 Replies
4. Shell Programming and Scripting
Hi, I have a question that I cannot solve.
if I have a file like this (lets say "x-values.dat"):
x1
x2
x3
another file like this (lets say "y-values.dat"):
y1
y2
y3
y4
and another file like this (lets say "p-values.dat"):
p1
p2
p3
...
p12
How can I get this output?
x1 y1 p1
x1 y2... (16 Replies)
Discussion started by: lego
16 Replies
5. What is on Your Mind?
I just ordered a Mini-Box M350 with a Mini-ITX Intel DM510MO motherboard.
NO FAN!
I've come to hate the wine of spinning mechanisms in PCs in my quiet home. This one is for surfing the web in my living room (instead of using this laptop), so it doesn't really need much power. If I do... (1 Reply)
Discussion started by: KenJackson
1 Replies
6. Shell Programming and Scripting
Hello,
I am trying to write a shell script that will create a gnuplot file.
My main problem is that I have a data file with two columns:
1.05929120E+09 5.0000701214792
1.05930096E+09 5.00006386985764
1.05930584E+09 5.00019465404908
1.05931072E+09 5.00031960589719
... (2 Replies)
Discussion started by: pau
2 Replies
7. UNIX for Dummies Questions & Answers
Hello friends!!
I have a question regarding the use of ls in unix. I have a folder with files:
t1.txt
t2.txt
t3.txt
t4.txt
...
t10.txt
When I make an ls I always get:
t10.txt
t1.txt
t2.txt
t3.txt
..
t9.txt (2 Replies)
Discussion started by: SaktiPhoenix
2 Replies
8. Shell Programming and Scripting
Hi everybody,
I'd like to think I've been through the search tool not only on this site, but also on google too, but I haven't been able to find what I was looking for. If I might've missed something on this forum, please slap me in the face with a link that you consider useful for my query :D
... (4 Replies)
Discussion started by: dilibau
4 Replies
LEARN ABOUT MOJAVE
glvalidateprogram
GLVALIDATEPROGRAM(3G) OpenGL 3.3 GLVALIDATEPROGRAM(3G)
NAME
glValidateProgram - Validates a program object
C SPECIFICATION
void glValidateProgram(GLuint program);
PARAMETERS
program
Specifies the handle of the program object to be validated.
DESCRIPTION
glValidateProgram checks to see whether the executables contained in program can execute given the current OpenGL state. The information
generated by the validation process will be stored in program's information log. The validation information may consist of an empty string,
or it may be a string containing information about how the current program object interacts with the rest of current OpenGL state. This
provides a way for OpenGL implementers to convey more information about why the current program is inefficient, suboptimal, failing to
execute, and so on.
The status of the validation operation will be stored as part of the program object's state. This value will be set to GL_TRUE if the
validation succeeded, and GL_FALSE otherwise. It can be queried by calling glGetProgram() with arguments program and GL_VALIDATE_STATUS. If
validation is successful, program is guaranteed to execute given the current state. Otherwise, program is guaranteed to not execute.
This function is typically useful only during application development. The informational string stored in the information log is completely
implementation dependent; therefore, an application should not expect different OpenGL implementations to produce identical information
strings.
NOTES
This function mimics the validation operation that OpenGL implementations must perform when rendering commands are issued while
programmable shaders are part of current state. The error GL_INVALID_OPERATION will be generated by any command that triggers the rendering
of geometry if:
o any two active samplers in the current program object are of different types, but refer to the same texture image unit,
o the number of active samplers in the program exceeds the maximum number of texture image units allowed.
It may be difficult or cause a performance degradation for applications to catch these errors when rendering commands are issued.
Therefore, applications are advised to make calls to glValidateProgram to detect these issues during application development.
ERRORS
GL_INVALID_VALUE is generated if program is not a value generated by OpenGL.
GL_INVALID_OPERATION is generated if program is not a program object.
ASSOCIATED GETS
glGetProgram() with arguments program and GL_VALIDATE_STATUS
glGetProgramInfoLog() with argument program
glIsProgram()
SEE ALSO
glLinkProgram(), glUseProgram()
COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. 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/.
OpenGL 3.3 03/08/2011 GLVALIDATEPROGRAM(3G)