GPU is not the problem.

strangely, I have to reduce primitive number in the shader with my curent 
computer.
otherwise, it is working.

cheers
c



Le 01/09/2012 16:56, Max a écrit :
Am 01.09.2012 um 16:20 schrieb Cyrille Henry:
Le 31/08/2012 21:39, Max a écrit :
in example 10.glsl number 11.geometry i get the following error:
[glsl_program]: Info_log:
[glsl_program]: ERROR: Too many geometry output components

[glsl_program]: Link failed!

this is with
GEM: ver: 0.93.3
GEM: compiled: Nov 10 2011

on OS X 10.7
AMD Radeon HD 6490M

what's to blame?

I imagine it's a hardware limitation.

that would be the first time.

what's your GPU?

   Chipsatz-Modell:     AMD Radeon HD 6490M
   Typ: GPU
   Bus: PCIe
   PCIe-Lane-Breite:    x8
   VRAM (gesamt):       256 MB
   Hersteller:  ATI (0x1002)
   Geräte-ID:   0x6760
   Versions-ID: 0x0000
   ROM-Version: 113-C0170H-521
   gMux-Version:        1.9.23
   EFI-Treiberversion:  01.00.521


what does a print message to glsl_geometry print?


[glsl_geometry]: glsl_geometry Hardware Info
[glsl_geometry]: ===========================
[glsl_geometry]: MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT: 4096
[glsl_geometry]: MAX_VARYING_FLOATS: 128
[glsl_geometry]: MAX_COMBINED_TEXTURE_IMAGE_UNITS: 16
[glsl_geometry]: MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT: 16
[glsl_geometry]: MAX_TEXTURE_IMAGE_UNITS: 16
[glsl_geometry]: MAX_TEXTURE_COORDS: 8
[glsl_geometry]: compiled last shader to ID: 5

try reducing the geometry number in the geo.geom file.

reducing it from 40 to 5 did not help

thanks cyrille for having a look.


i just tried the same on a different machine:
OS X 10.6.8 with a NVIDIA GeForce GTX 285
print gives me:

[glsl_geometry]: glsl_geometry Hardware Info
[glsl_geometry]: ===========================
[glsl_geometry]: MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT: 2048
[glsl_geometry]: MAX_VARYING_FLOATS: 60
[glsl_geometry]: MAX_COMBINED_TEXTURE_IMAGE_UNITS: 16
[glsl_geometry]: MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT: 16
[glsl_geometry]: MAX_TEXTURE_IMAGE_UNITS: 16
[glsl_geometry]: MAX_TEXTURE_COORDS: 8
[glsl_geometry]: compiled last shader to ID: 3

but running the shader only gives me maaany of those:

GL:Invalid operation




_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to