View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002084 | FSSCP | graphics | public | 2010-01-03 12:24 | 2010-01-15 18:06 |
Reporter | Echelon9 | Assigned To | Echelon9 | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.6.11 | ||||
Summary | 0002084: Fragment shader blur-f.sdr fails to compile on OS X | ||||
Description | When using Hery's -post_process feature, FS2_Open fails to enable post processing at all in the supplied test mission. Build is r5766. *.sdr and *.tbl from http://zacam.ueuo.com/fsu/FSU_and-PostProc_Shaders.7z Excerpt from fs2_open.log is: ====================================================================== Compiling special shader -> post-v.sdr / brightpass-f.sdr ... Compiling special shader -> post-v.sdr / blur-f.sdr ... Fragment shader failed to compile: ERROR: 0:15: 'array of int' : constructor not supported for type ERROR: 0:29: 'array of int' : no matching overloaded function found ERROR: 0:15: 'PixelKernel' : redefinition ERROR: 0:31: 'array of float' : constructor not supported for type ERROR: 0:45: 'array of float' : no matching overloaded function found ERROR: 0:31: 'BlurWeights' : redefinition ERROR! Unable to create fragment shader! Post-processing disabled. | ||||
Additional Information | Details of graphics hardware and OpenGL version are: OpenGL Vendor : NVIDIA Corporation OpenGL Renderer : NVIDIA GeForce 9400M OpenGL Engine OpenGL Version : 2.1 NVIDIA-1.6.6 | ||||
Tags | No tags attached. | ||||
2010-01-03 12:24
|
|
|
This is a known bug that Apple incredibly forgot to implement array initializers in GLSL. You can declare the array, but can't initialize it's values. Apple Radar Bug #5924418 filed on 2008 May, marked as duplicate of bug #5183554. A partial workaround for short arrays (<=4 items) is here: http://lists.apple.com/archives/mac-opengl//2009/Feb/msg00017.html |
2010-01-03 14:31
|
|
|
A workaround has been found, please use attached blur-f.sdr if you are on OS X (all hardware). |
|
Being tested as part of Antipodes 0000005 http://www.hard-light.net/forums/index.php?topic=67428.0 |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-01-03 12:24 | Echelon9 | New Issue | |
2010-01-03 12:24 | Echelon9 | File Added: fs2_open.log | |
2010-01-03 13:11 | Echelon9 | Note Added: 0011483 | |
2010-01-03 13:11 | Echelon9 | Assigned To | => Echelon9 |
2010-01-03 13:11 | Echelon9 | Status | new => confirmed |
2010-01-03 14:31 | Echelon9 | File Added: blur-f.sdr.zip | |
2010-01-03 14:31 | Echelon9 | Note Added: 0011484 | |
2010-01-06 13:08 | Echelon9 | Status | confirmed => feedback |
2010-01-10 07:55 | Echelon9 | Note Added: 0011512 | |
2010-01-15 18:06 | Echelon9 | Status | feedback => resolved |
2010-01-15 18:06 | Echelon9 | Resolution | open => fixed |