Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Banner advertising on our site currently available from just $5!
1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!
30 September 2014 - 02:34 PM
Windows 10 preview comming soon: http://windows.microsoft.com/en-us/windows/preview-coming-soon
23 June 2014 - 05:24 AM
float x = sinf(y);//y is a float result is the same if i use std::sin
The output dissasembly for msvc is:
00B61018 push esi
00B61019 call __libm_sse2_sin_precise (0B6192Ah)
00B6101E cvtsd2ss xmm0,xmm0
00B61022 movss dword ptr [ebp-38h],xmm0
Well I'm using floats and it is calling double precision sin(). Compiling the same code with gcc calls "..libm_sincosf".
Why MS aren't calling single precision equivalents? How can i fix this?
03 June 2014 - 07:02 AM
Apples rendering API:
EDIT: It was not intended to to post this topic on "Coding Horror" I've missclicked the 'GDNet Longue'
11 May 2014 - 03:32 PM
I'm searching for an add-in that will pair the cpp/h files within the same Filter 'Folder' in the solution explorer.
Something like this:
-My Filer Blah
To become something like this
10 April 2014 - 12:56 PM
In order to create a input layout that represent a vertex element of type half3 we need DXGI_FORMAT_R16G16B16_X (in D3D11_INPUT_ELEMENT_DESC) but there isn't such element in DXGI_FORMAT enumeration.
Am I missing something?
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC