Inertia's picture

[GL 4.0] GPU Shader fp64

Project:The Open Toolkit library
Version:1.1-2014-01-02
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

http://www.opengl.org/registry/specs/ARB/gpu_shader_fp64.txt

Add to BOTH enums ActiveUniformType and ActiveAttribType:
DOUBLE
DOUBLE_VEC2 0x8FFC
DOUBLE_VEC3 0x8FFD
DOUBLE_VEC4 0x8FFE
DOUBLE_MAT2 0x8F46
DOUBLE_MAT3 0x8F47
DOUBLE_MAT4 0x8F48
DOUBLE_MAT2x3 0x8F49
DOUBLE_MAT2x4 0x8F4A
DOUBLE_MAT3x2 0x8F4B
DOUBLE_MAT3x4 0x8F4C
DOUBLE_MAT4x2 0x8F4D
DOUBLE_MAT4x3 0x8F4E

Functions:

void Uniform1d(int location, double x);
void Uniform2d(int location, double x, double y);
void Uniform3d(int location, double x, double y, double z);
void Uniform4d(int location, double x, double y, double z, double w);
void Uniform1dv(int location, sizei count, const double *value);
void Uniform2dv(int location, sizei count, const double *value);
void Uniform3dv(int location, sizei count, const double *value);
void Uniform4dv(int location, sizei count, const double *value);

void UniformMatrix2dv(int location, sizei count, boolean transpose, const double *value);
void UniformMatrix3dv(int location, sizei count, boolean transpose, const double *value);
void UniformMatrix4dv(int location, sizei count, boolean transpose, const double *value);
void UniformMatrix2x3dv(int location, sizei count, boolean transpose, const double *value);
void UniformMatrix2x4dv(int location, sizei count, boolean transpose, const double *value);
void UniformMatrix3x2dv(int location, sizei count, boolean transpose, const double *value);
void UniformMatrix3x4dv(int location, sizei count, boolean transpose, const double *value);
void UniformMatrix4x2dv(int location, sizei count, boolean transpose, const double *value);
void UniformMatrix4x3dv(int location, sizei count, boolean transpose, const double *value);

void GetUniformdv(uint program, int location, double *params);

void ProgramUniform1dEXT(uint program, int location, double x);
void ProgramUniform2dEXT(uint program, int location, double x, double y);
void ProgramUniform3dEXT(uint program, int location, double x, double y,
double z);
void ProgramUniform4dEXT(uint program, int location, double x, double y, double z, double w);
void ProgramUniform1dvEXT(uint program, int location, sizei count, const double *value);
void ProgramUniform2dvEXT(uint program, int location, sizei count, const double *value);
void ProgramUniform3dvEXT(uint program, int location, sizei count, const double *value);
void ProgramUniform4dvEXT(uint program, int location, sizei count, const double *value);

void ProgramUniformMatrix2dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);
void ProgramUniformMatrix3dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);
void ProgramUniformMatrix4dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);
void ProgramUniformMatrix2x3dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);
void ProgramUniformMatrix2x4dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);
void ProgramUniformMatrix3x2dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);
void ProgramUniformMatrix3x4dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);
void ProgramUniformMatrix4x2dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);
void ProgramUniformMatrix4x3dvEXT(uint program, int location, sizei count, boolean transpose, const double *value);


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» fixed

Fixed in gl4 branch, r2946.

the Fiddler's picture

#2

Version:1.x-dev» 1.1-2014-01-02
Status:fixed» closed

Closing issues fixed in OpenTK 1.1.

If this is still an issue please file a new bug report at https://github.com/opentk/opentk/issues