This commit is contained in:
Darkywolf999
2021-10-26 11:39:54 +02:00
parent 6051fc9336
commit 33089134d0

View File

@@ -150,7 +150,7 @@ Device::Device() {
has_shader_ballot = GLAD_GL_ARB_shader_ballot;
has_vertex_viewport_layer = GLAD_GL_ARB_shader_viewport_layer_array;
has_image_load_formatted = HasExtension(extensions, "GL_EXT_shader_image_load_formatted");
//has_texture_shadow_lod = HasExtension(extensions, "GL_EXT_texture_shadow_lod");
has_texture_shadow_lod = HasExtension(extensions, "GL_EXT_texture_shadow_lod");
has_astc = IsASTCSupported();
has_variable_aoffi = TestVariableAoffi();
has_component_indexing_bug = is_amd;
@@ -158,7 +158,7 @@ Device::Device() {
has_broken_texture_view_formats = is_amd || (!is_linux && is_intel);
has_nv_viewport_array2 = GLAD_GL_NV_viewport_array2;
has_derivative_control = GLAD_GL_ARB_derivative_control;
//has_vertex_buffer_unified_memory = GLAD_GL_NV_vertex_buffer_unified_memory;
has_vertex_buffer_unified_memory = GLAD_GL_NV_vertex_buffer_unified_memory;
has_debugging_tool_attached = IsDebugToolAttached(extensions);
has_depth_buffer_float = HasExtension(extensions, "GL_NV_depth_buffer_float");
has_geometry_shader_passthrough = GLAD_GL_NV_geometry_shader_passthrough;
@@ -268,4 +268,4 @@ void main() {
})");
}
} // namespace OpenGL
} // namespace OpenGL