Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
2 answers
188 views

GLSL Error: '##' : not supported for these tokens

I have an AMD Radeon Graphics (Ryzen 7000) GPU and I am creating a program using OpenGL. I wrote the shaders in GLSL version 330 with the extension GL_ARB_shading_language_420pack enabled. However, ...
AboodXD's user avatar
  • 158
3 votes
1 answer
601 views

Have I found an AMD GPU integer division bug?

I've narrowed my case down to this simple GLSL code: uniform int zeroUniform; // Always set to zero, it is there so that the code is not optimized out out int c; int a = 8660165; int b = 6; c = (a + ...
Danol's user avatar
  • 408
3 votes
1 answer
559 views

OpenGL drops performance when writing to nonzero FBO attachment on AMD

I noticed that my 3D engine runs very slow on AMD hardware. After some investigation the slow code boiled down to creating FBO with several attachments and writing to any nonzero attachment. In all ...
Sergey's user avatar
  • 8,218
2 votes
2 answers
1k views

Array of samplerCube

I ran into a problem when testing a program on an AMD GPU. When tested on Nvidia and Intel HD Graphics, everything works fine. On AMD, the problem occurs precisely when trying to bind the texture. ...
congard's user avatar
  • 998
5 votes
2 answers
719 views

OpenGL PBO mapped buffer: multi-threaded unpack slow, memcpy fast

We are working on a workstation Core i7 and AMD FirePro 8000. For video decoding (8K, 7680x4320 video frame ~ 66MB hapq codec ) we tried to use the following obvious loop: get frame from stream map ...
Heiner's user avatar
  • 195
5 votes
1 answer
634 views

Prevent OpenGL from Buffering Frames

I am writing a program that requires extremely low latency texture to screen streaming (under 10ms), I have implemented this using GL_ARB_buffer_storage which works great for the streaming, and vsync ...
Geoffrey's user avatar
  • 11.3k
0 votes
2 answers
447 views

Is OpenGL 4.3 API and glsl language safe?

I'm developing a Java graphical application with jogl and OpenGL at the Linux. My application contains over 30 shaders and they work fine in most cases. But about once a week there is a driver (amdgpu ...
Roman Yurin's user avatar
4 votes
1 answer
805 views

OpenGL render difference between nVidia and ATI

Recently I updated ATI drivers (I am using a HD7970) to the newest one and some of my OpenGL project's objects stopped working. What is more they work on nVidia newest drivers (tested on 960m). Is ...
Kedriik's user avatar
  • 331
0 votes
1 answer
47 views

OpenGL Stencil: Availability of GL_REPLACE_VALUE_AMD

OpenGL Stenciling, separating ref from value written? In the answer to this question, a vendor specific extension GL_REPLACE_VALUE_AMD is able to do exactly what I'm struggling to do in OpenGL, but I'...
Anne Quinn's user avatar
0 votes
2 answers
275 views

From ArrayFire to OpenGL on AMD?

Is it possible to go from ArrayFire to OpenGL and back using an AMD graphics card? There is an article on how to do it using CUDA. Any hints on using a similar method for OpenCL, so it can be used ...
Jan Rüegg's user avatar
3 votes
1 answer
408 views

OpenCL / OpenGL Implicit Synchronization on AMD Tahiti

I'm having a problem with the "implicit synchronization" of OpenCL and OpenGL on an AMD Tahiti (AMD Radeon HD 7900 Series) device. The device has the cl/gl extensions, cl_khr_gl_sharing, and ...
Ryan Bartley's user avatar
0 votes
0 answers
42 views

Application triggering an AMD discrete card on a Windows laptop [duplicate]

I am developing a 3D application that requires the use of a high-end card, such as the ones developed by NVidia or AMD. Now, on laptops, the issue is to get the application detected as such. For ...
PierreBdR's user avatar
  • 43.2k
5 votes
3 answers
5k views

Fixing GLSL shaders for Nvidia and AMD

I am having problems getting my GLSL shaders to work on both AMD and Nvidia hardware. I am not looking for help fixing a particular shader, but how to generally avoid getting these problems. Is it ...
Gigo's user avatar
  • 3,255