- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
System Setup Information:
-----------------------------------------
System Used: Macbook Pro, Surface Pro, others...
CPU SKU: i7
GPU SKU: HD5100
Processor Line: N/A
System BIOS Version: N/A
CMOS settings: N/A
Graphics Driver Version: 20.19.15.4624
GOP/VBIOS Version: N/A
Operating System: Windows 10 Pro
OS Version: v1703 15063.671 (Creators Update)
API: OpenGL
Occurs on non-Intel GPUs?: No
Steps to Reproduce:
-------------------------------
1. Download and build sample program from here: https://bitbucket.org/toptensoftware/shadertest/
2. Run the program - notice the black square indicating the usampler is always returning 0
3. Uncomment the line #define NORMALIZED to switch to using GL_R8
4. Re-run - notice the square is now red as expected
Expected Results:
-------------------------------
usampler2D should return data from the texture
Actual Results:
-------------------------------
usample2D always seems to return zero. Either glTexImage is failing to pass the texture data to the GPU, or the GPU/shader script is failing when retrieving data from the texture.
Additional Information:
-------------------------------
Related Stack Overflow questions: https://stackoverflow.com/questions/47387613/glteximage2d-and-gl-r8ui-fails-on-some-gpus?noredirect=1#comment81739882_47387613
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page