Skip to content

Commit

Permalink
Remove float16 capability requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
shg8 committed Feb 21, 2024
1 parent 1903b05 commit 571c0cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 3dgs/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void Renderer::initializeVulkan() {
vk::PhysicalDeviceVulkan12Features pdf12{};
pdf.shaderStorageImageWriteWithoutFormat = true;
pdf.shaderInt64 = true;
pdf12.shaderFloat16 = true;
// pdf12.shaderFloat16 = true;
// pdf12.shaderBufferInt64Atomics = true;
// pdf12.shaderSharedInt64Atomics = true;

Expand Down
2 changes: 1 addition & 1 deletion shaders/preprocess_sort.comp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "./common.glsl"

#extension GL_EXT_shader_explicit_arithmetic_types_int64 : enable
#extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable
//#extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable

layout (std430, set = 0, binding = 0) readonly buffer Vertices {
VertexAttribute attr[];
Expand Down
2 changes: 1 addition & 1 deletion shaders/render.comp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "./common.glsl"

#extension GL_EXT_shader_explicit_arithmetic_types_int64 : enable
#extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable
//#extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable

layout (std430, set = 0, binding = 0) readonly buffer Vertices {
VertexAttribute attr[];
Expand Down

0 comments on commit 571c0cc

Please sign in to comment.