-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
appsIssues related to the sample apps.Issues related to the sample apps.
Milestone
Description
The GLSL app is broken (and isn't built by the Makefile currently). When trying to build and test it on cmake-modern, we get the following error:
543: 1: Entering Pipeline halide_blur_glsl
543: 1: Target: x86-64-linux-avx-avx2-cuda-debug-no_runtime-opengl-sse41
543: 1: Input Buffer input8: buffer(0, 0x0, 0x55d69f0db900, 0, uint8, {0, 12, 1}, {0, 32, 12}, {0, 3, 384})
543: 1: Output Buffer blur_filter: buffer(0, 0x0, 0x55d69f0dbe00, 0, uint8, {0, 12, 1}, {0, 32, 12}, {0, 3, 384})
543: 1: In initialize_kernels
543: 1: Halide running on OpenGL 3.2
543: 1: vertex_array_objects: yes
543: 1: texture_rg: yes
543: 1: have_texture_rgb8_rgba8: yes
543: 1: texture_float: yes
543: 1: Compiling GLSL kernel (size = 375):
543: 1: GL_VERTEX_SHADER SOURCE:
543: 1: attribute vec4 _varyingf0_attrib;
543: 1: varying vec4 _varyingf0;
543: 1: uniform ivec2 output_min;
543: 1: uniform ivec2 output_extent;
543: 1: void main() {
543: 1: vec2 position = vec2(_varyingf0_attrib[0], _varyingf0_attrib[1]);
543: 1: gl_Position = vec4(position, 0.0, 1.0);
543: 1: vec2 texcoord = 0.5 * position + 0.5;
543: 1: vec2 pixcoord = texcoord * vec2(output_extent.xy) + vec2(output_min.xy);
543: 1: _varyingf0 = _varyingf0_attrib;
543: 1: _varyingf0.xy = pixcoord;
543: 1: }
543: 1: GL_FRAGMENT_SHADER SOURCE:
543: 1:
543: 1: // ll suffix in OpenCL is reserved for 128-bit integers.
543: 1: #if defined __OPENCL_VERSION__
543: 1: #define ADD_INT64_T_SUFFIX(x) x##l
543: 1: #define ADD_UINT64_T_SUFFIX(x) x##ul
543: 1: // HLSL doesn't have any suffixes.
543: 1: #elif defined HLSL_VERSION
543: 1: #define ADD_INT64_T_SUFFIX(x) x
543: 1: #define ADD_UINT64_T_SUFFIX(x) x
543: 1: #else
543: 1: #define ADD_INT64_T_SUFFIX(x) x##ll
543: 1: #define ADD_UINT64_T_SUFFIX(x) x##ull
543: 1: #endif
543: 1: Compiling GLSL kernel (size = 4241):
543: 1: Error: Internal error: argument type not supported
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
appsIssues related to the sample apps.Issues related to the sample apps.