03-23-2010
Have you tried with a live CD (e.g. Knoppix).
At this stage I suppose no one can really help not knowing if you are stuck with a BIOS issue or not... (and so more Hardware related than UNIX...)
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everyone,
I Just finished installing Red Hat 7.1 server, and I am having a problem with FTP, and Telnet. I can FTP and Telnet to all client stations. But cannot FTP and Telnet to the server. Does any one know what i missed. All client hosts are in the etc/hosts already. (2 Replies)
Discussion started by: Link_02
2 Replies
2. UNIX for Dummies Questions & Answers
HI,
i hope i'm in the good themes....
so i have a problem with NTPD
if have five server
one master of time
four slave of the master but server for the client
78 client station slave of the slave ;-_
my first server the master one synchronise is time with nobody
#ntp.conf
server... (1 Reply)
Discussion started by: westside
1 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
having read lots of posts about SU I don't quiet understand this :
I'm doing regular backups of my database (u betta do) and therefore use su - username -c "sqlscript special data_base" in a unixscript which is even using cron. (yep!)
Now I need some other script, still with this... (4 Replies)
Discussion started by: nulnul7
4 Replies
4. Homework & Coursework Questions
hello this is laya. I need some help regarding linx installation and also trouble shooting.
i installed linux mandriva 2009 in my school months ago and now it says password expired and doesnt start up. So i was wondering if there could be any default password for linux versions??? and next is that... (1 Reply)
Discussion started by: laya
1 Replies
5. Programming
I'm writing a simple chat client in C++ on linux to connect to a win32 chat server on my computer also written in C++. I'm confident that the server works but the chat client is giving me some trouble. I'm forking the chat client and have one process dealing with incoming messages and another... (14 Replies)
Discussion started by: vindy
14 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
2. Shell Bash Script
3.
!/bin/bash
if
echo no directory
then
mkdir -p /home/AC_Drywall
elif ; then
echo "$dir already exist"
fi (4 Replies)
Discussion started by: TomFord1
4 Replies
7. SCO
Hello,
I wonder if anybody could help. I'm running SCO Xenix under Qemu on Xubuntu 16.04. I created a SYSV floppy image, but the files on it are poorly displayed when I mounted it under Xenix.
I tried to create and format this image under Ubuntu as well as under Xenix.
How could I create a... (6 Replies)
Discussion started by: Neelix
6 Replies
LEARN ABOUT CENTOS
glgetsubroutineindex
GLGETSUBROUTINEINDEX(3G) OpenGL Manual GLGETSUBROUTINEINDEX(3G)
NAME
glGetSubroutineIndex - retrieve the index of a subroutine uniform of a given shader stage within a program
C SPECIFICATION
GLuint glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name);
PARAMETERS
program
Specifies the name of the program containing shader stage.
shadertype
Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER,
GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER.
name
Specifies the name of the subroutine uniform whose index to query.
DESCRIPTION
glGetSubroutineIndex returns the index of a subroutine uniform within a shader stage attached to a program object. program contains the
name of the program to which the shader is attached. shadertype specifies the stage from which to query shader subroutine index. name
contains the null-terminated name of the subroutine uniform whose name to query.
If name is not the name of a subroutine uniform in the shader stage, GL_INVALID_INDEX is returned, but no error is generated. If name is
the name of a subroutine uniform in the shader stage, a value between zero and the value of GL_ACTIVE_SUBROUTINES minus one will be
returned. Subroutine indices are assigned using consecutive integers in the range from zero to the value of GL_ACTIVE_SUBROUTINES minus one
for the shader stage.
ERRORS
GL_INVALID_ENUM is generated if shadertype or pname is not one of the accepted values.
GL_INVALID_VALUE is generated if program is not the name of an existing program object.
SEE ALSO
glGetProgram(), glGetActiveSubroutineUniform(), glGetActiveSubroutineUniformName()
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/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLGETSUBROUTINEINDEX(3G)