Motherboard Forums


Reply
Thread Tools Display Modes

Confused about pixel format for glTexImage2D (for gpgpu programming)

 
 





















Skybuck Flying
Guest
Posts: n/a

 
      09-28-2009, 07:40 AM


Hello,

I am confused about what pixel format to use for glTexImage2D... I plan on
doing some gpgpu testing/development with OpenGL and DX9 cards (pixel shader
2.0/3.0?)

I fixed a gpgpu tutorial... which had a little benchmark in it... it was for
floating points only...

I am curious about integer performance ?

I learned little from the benchmark except that:

1. Some formats not working (?) or very slow (?) ATI_R, ARB_R (or something
like that)
2. 32 bit floats twice as slow as 16 bit floats.

There are so many pixel formats to choose from according to opengl documents
?!?!?

(Internal as well as the other one ?)

I have NVIDIA GTX 7900 graphics card... I also tried to view a nvidia
document about pixel formats... but it doesn't mention the G70 family...

I am very confused about all of this ?!?!?

What settings would you recommend I supply for the glTexImage2D so I get
best performance on my graphics card ?

Also what would be the best general settings so it works on all graphics
cards ?

Thanks for any help, sigh

Bye,
Skybuck


 
Reply With Quote
 
Man-wai Chang to The Door (+MS=32B)
Guest
Posts: n/a

 
      09-28-2009, 07:42 AM
Skybuck Flying wrote:
> Hello,
>
> I am confused about what pixel format to use for glTexImage2D... I plan on
> doing some gpgpu testing/development with OpenGL and DX9 cards (pixel shader
> 2.0/3.0?)


I don't think this forum the right place for this kind of technical
questions. Doesn't Nvidia have her own web forums for these?

--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 9.04) Linux 2.6.30.8
^ ^ 14:41:03 up 2 days 2:56 2 users load average: 5.41 2.85 1.88
不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA):
http://www.swd.gov.hk/tc/index/site_...sub_addressesa
 
Reply With Quote
 
Skybuck Flying
Guest
Posts: n/a

 
      09-28-2009, 09:06 AM
You are confused this is not a webforum.

These are newsgroups.

Bye,
Skybuck.


 
Reply With Quote
 
Maurizio Vitale
Guest
Posts: n/a

 
      09-28-2009, 11:18 PM
>>>>> "Skybuck" == Skybuck Flying <> writes:

Skybuck> You are confused this is not a webforum. These are
Skybuck> newsgroups.

oh. I thought it was twitter...

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 04:10 AM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43