MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030622Open CASCADE[OCCT] OCCT:Visualizationpublic2019-03-29 20:502019-04-08 12:18
Reporterkgv 
Assigned Toapn 
PrioritynormalSeveritytrivial 
StatusverifiedResolutionfixed 
PlatformOSOS Version
Product Version[OCCT] 7.0.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0030622: Visualization, TKOpenGl - Path Tracing fails on macOS
DescriptionPath Tracing fails on macOS with the following GLSL compilation log:
2239:   else
2240:   {
2241:     OutColor = mix (texture2D (uAccumTexture, vPixel), aColor, 1.f / (uAccumSamples + 1));
2242:   }
2243: 
2244: #endif // ADAPTIVE_SAMPLING
2245: 
2246: #else
2247: 
2248:   OutColor = clamp (Radiance (aRay, aInvDirect), 0.f, 1.f);
2249: 
2250: #endif // PATH_TRACING
2251: }
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
  Failed to compile Fragment Shader [occt_rt_main]. Compilation log:
ERROR: 0:2241: Invalid call of undeclared identifier 'texture2D'

TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
  Failed to compile ray-tracing fragment shaders
  
> vglinfo
 OpenGL info:
  GLvendor: ATI Technologies Inc.
  GLdevice: AMD Radeon Pro 570 OpenGL Engine
  GLversion: 4.1 ATI-2.8.38
  GLSLversion: 4.10
  Max texture size: 16384
  Max FBO dump size: 16384x16384
  Max combined texture units: 80
  Max MSAA samples: 8
  Viewport: 512x512
  GPU memory: 4096 MiB
  GPU Texture memory: 4008 MiB
  ResolutionRatio: 1
TagsNo tags attached.
Test case numberNot needed
Attached Files

- Relationships

-  Notes
(0083299)
git (administrator)
2019-03-29 20:53

Branch CR30622 has been created by kgv.

SHA-1: 27f637eedfb604aaa21373f39b6ffb02bcb8cf42


Detailed log of new commits:

Author: kgv
Date: Fri Mar 29 20:46:39 2019 +0300

    0030622: Visualization, TKOpenGl - Path Tracing fails on macOS
    
    Fixed usage of non-existing function texture2D().
(0083302)
git (administrator)
2019-03-29 22:57

Branch CR30622 has been updated forcibly by kgv.

SHA-1: 5d5d7083f031254b547f113a2ae4f3209477f5cf
(0083303)
kgv (developer)
2019-03-29 23:00

Please raise trivial bug-fix.
(0083485)
git (administrator)
2019-04-08 12:18

Branch CR30622 has been deleted by inv.

SHA-1: 5d5d7083f031254b547f113a2ae4f3209477f5cf

- Related Changesets
occt: master 2a0522b1
Timestamp: 2019-03-29 17:46:39
Author: kgv
Committer: apn
Details ] Diff ]
0030622: Visualization, TKOpenGl - Path Tracing fails on macOS

Fixed usage of non-existing function texture2D().
mod - src/Shaders/RaytraceRender.fs Diff ] File ]
mod - src/Shaders/Shaders_RaytraceRender_fs.pxx Diff ] File ]

- Issue History
Date Modified Username Field Change
2019-03-29 20:50 kgv New Issue
2019-03-29 20:50 kgv Assigned To => kgv
2019-03-29 20:53 git Note Added: 0083299
2019-03-29 22:57 git Note Added: 0083302
2019-03-29 23:00 kgv Note Added: 0083303
2019-03-29 23:00 kgv Assigned To kgv => bugmaster
2019-03-29 23:00 kgv Severity minor => trivial
2019-03-29 23:00 kgv Status new => resolved
2019-03-29 23:00 kgv Status resolved => reviewed
2019-03-29 23:02 kgv Relationship added child of 0025201
2019-03-29 23:03 kgv Product Version 7.3.0 => 7.0.0
2019-04-01 16:29 apn Test case number => Not needed
2019-04-01 16:29 apn Status reviewed => tested
2019-04-08 00:47 apn Changeset attached => occt master 2a0522b1
2019-04-08 00:47 apn Assigned To bugmaster => apn
2019-04-08 00:47 apn Status tested => verified
2019-04-08 00:47 apn Resolution open => fixed
2019-04-08 12:18 git Note Added: 0083485


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker