增加输出数据

This commit is contained in:
hyzboy 2019-03-10 23:04:42 +08:00
parent d9532732bb
commit db7a75325f

View File

@ -1,4 +1,4 @@
#include<hgl/graph/RenderDevice.h>
#include<hgl/graph/RenderDevice.h>
#include<hgl/graph/RenderWindow.h>
#include<iostream>
#include<string.h>
@ -44,14 +44,21 @@ void output_ogl_value(const char *name,const GLenum gl_caps)
void output_ogl_values()
{
OUTPUT_OGL_VALUE(MAX_VERTEX_ATTRIBS);
OUTPUT_OGL_VALUE(MAX_VERTEX_ATTRIB_BINDINGS);
OUTPUT_OGL_VALUE(MAX_TEXTURE_COORDS);
OUTPUT_OGL_VALUE(MAX_TEXTURE_IMAGE_UNITS);
OUTPUT_OGL_VALUE(MAX_SAMPLES);
OUTPUT_OGL_VALUE(MAX_COLOR_ATTACHMENTS);
OUTPUT_OGL_VALUE(MAX_ARRAY_TEXTURE_LAYERS);
OUTPUT_OGL_VALUE(MAX_TEXTURE_BUFFER_SIZE);
OUTPUT_OGL_VALUE(MAX_UNIFORM_BLOCK_SIZE);
OUTPUT_OGL_VALUE(MAX_SHADER_STORAGE_BLOCK_SIZE);
OUTPUT_OGL_VALUE(MAX_VERTEX_UNIFORM_BLOCKS);
OUTPUT_OGL_VALUE(MAX_GEOMETRY_UNIFORM_BLOCKS);
OUTPUT_OGL_VALUE(MAX_FRAGMENT_UNIFORM_BLOCKS);
OUTPUT_OGL_VALUE(MAX_UNIFORM_BLOCK_SIZE);
}
int main(int argc,char **argv)