Skip to content

Commit 2783db4

Browse files
authored
[ET-VK][ez] Fix ETVKNODEBUG lint signal (#15676)
Title says it all! Differential Revision: [D86477050](https://our.internmc.facebook.com/intern/diff/D86477050/)
1 parent 010f73c commit 2783db4

File tree

4 files changed

+0
-22
lines changed

4 files changed

+0
-22
lines changed

backends/vulkan/runtime/graph/ops/glsl/reduce_per_row_buffer.glsl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ $else:
5757
$if OUTPUT_IS_INDICES:
5858
#define OUTPUT_IS_INDICES
5959

60-
#extension GL_EXT_debug_printf : require
61-
6260
void main() {
6361
const uint out_bufi = gl_GlobalInvocationID.y;
6462

backends/vulkan/runtime/graph/ops/glsl/sdpa_kv_cache_update.glsl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ ${define_required_extensions(DTYPE)}
1414

1515
layout(std430) buffer;
1616

17-
#define DEBUG_MODE
18-
19-
#extension GL_EXT_debug_printf : enable
20-
2117
#include "common.glslh"
2218

2319
${layout_declare_tensor(B, "w", "t_cache", DTYPE, OUTPUT_STORAGE, is_scalar_array=False)}

backends/vulkan/test/custom_ops/glsl/packed_int32_canvas_buffer.glsl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
${define_active_storage_type("texture3d")}
1414

15-
#extension GL_EXT_debug_printf : enable
16-
1715
layout(std430) buffer;
1816

1917
${layout_declare_tensor(B, "w", "t_out", "int", "texture3d")}
@@ -33,12 +31,6 @@ void main() {
3331
// Pack four 8-bit values equal to 1 into a single uint
3432
int packed = (1 << 0) | (1 << 8) | (1 << 16) | (1 << 24);
3533

36-
debugPrintfEXT(
37-
"t_out[%i, %i] = %i\\n",
38-
lpos.x, lpos.y,
39-
packed);
40-
41-
4234
// Placeholder: just copy input to output
4335
ivec4 in_texel = ivec4(packed);
4436
imageStore(t_out, lpos, in_texel);

backends/vulkan/test/custom_ops/glsl/packed_int32_canvas_texture3d.glsl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
${define_active_storage_type("texture2d")}
1414

15-
#extension GL_EXT_debug_printf : enable
16-
1715
layout(std430) buffer;
1816

1917
${layout_declare_tensor(B, "w", "t_out", "int", "texture3d")}
@@ -33,12 +31,6 @@ void main() {
3331
// Pack four 8-bit values equal to 1 into a single uint
3432
int packed = (1 << 0) | (1 << 8) | (1 << 16) | (1 << 24);
3533

36-
debugPrintfEXT(
37-
"t_out[%i, %i] = %i\\n",
38-
lpos.x, lpos.y,
39-
packed);
40-
41-
4234
// Placeholder: just copy input to output
4335
ivec4 in_texel = ivec4(packed);
4436
imageStore(t_out, lpos, in_texel);

0 commit comments

Comments
 (0)