Author Topic: 64-bit DirectX 11  (Read 735 times)

AW

  • Member
  • *****
  • Posts: 1562
  • Let's Make ASM Great Again!
64-bit DirectX 11
« on: May 25, 2018, 11:49:29 PM »
I attach a 64-bit DirectX 11 demo with source.
It includes a 64-bit DirectX 11 library (probably the MASM first). It was inspired by Siekmanski excellent work for DirectX 9, 32-bit.
It includes also my DMath library in static form (which I had never published before this way). As we know it is not possible to use DirectXMath within MASM, so DMath is the best bet because it covers the whole DirectXMath and is completely compatible.

This is not a complete work, but I can't promise I will pursue it.
The demo is of middle level difficulty and is based on lesson 11 of https://www.braynzarsoft.net/viewtutorial/q16390-braynzar-soft-directx-11-tutorials


LordAdef

  • Member
  • ****
  • Posts: 604
Re: 64-bit DirectX 11
« Reply #1 on: May 26, 2018, 03:48:30 AM »
Hi AW, nice!
Concerning your DMath lib, what do you use for 32 bits?

LiaoMi

  • Member
  • ***
  • Posts: 324
Re: 64-bit DirectX 11
« Reply #2 on: May 26, 2018, 04:21:15 AM »
Hi AW,

is it some kind of special library - d3dx11_43.dll? I usually dont have any problems with directx  :icon_eek: Thats interesting https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/8b78bea7-06c0-4a2c-8aa0-929c37fbfee4/missing-d3dx1143dll?forum=vclanguage

I have an error
Code: [Select]
---------------------------
dx11_64App.exe - System Error
---------------------------
The code execution cannot proceed because d3dx11_43.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK   
---------------------------

Siekmanski

  • Member
  • *****
  • Posts: 1684
Re: 64-bit DirectX 11
« Reply #3 on: May 26, 2018, 04:21:39 AM »
Cool  8)
Creative coders use backward thinking techniques as a strategy.

nidud

  • Member
  • *****
  • Posts: 1614
    • https://github.com/nidud/asmc

felipe

  • Member
  • ****
  • Posts: 970
  • Eagles are just great!
Re: 64-bit DirectX 11
« Reply #5 on: May 26, 2018, 05:20:28 AM »
 :greenclp:
Felipe.

daydreamer

  • Member
  • ****
  • Posts: 557
  • reach for the stars
Re: 64-bit DirectX 11
« Reply #6 on: May 26, 2018, 06:19:35 AM »
fails on my 64bit
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

caballero

  • Member
  • *****
  • Posts: 1099
    • abre ojos ensamblador
Re: 64-bit DirectX 11
« Reply #7 on: May 26, 2018, 06:41:44 AM »
Quite nice, thank you. There is a noticeable difference in speed as the size of the window increases.
En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -

AW

  • Member
  • *****
  • Posts: 1562
  • Let's Make ASM Great Again!
Re: 64-bit DirectX 11
« Reply #8 on: May 26, 2018, 05:08:25 PM »
@LordAdef
I will publish the 32-bit DMath static lib when I post a 32-bit demo. It may not take long.

@LiaoMi
You need the DirectX11 runtime installed.

@daydreamer
I don't know if it applies to the case, but dx11 requires Windows Vista or above.

@caballero
This may have to do with the texture fill-rate.




LiaoMi

  • Member
  • ***
  • Posts: 324
Re: 64-bit DirectX 11
« Reply #9 on: May 26, 2018, 09:35:14 PM »
Hi AW,

thank you! It works now, reminded me of flying barrels in the game Half-Life  :biggrin: Very dynamic scene! Cool!


The processor loads 21%, gpu load 81% Is this normal? –°an be compared with FarCry 5  :P

AW

  • Member
  • *****
  • Posts: 1562
  • Let's Make ASM Great Again!
Re: 64-bit DirectX 11
« Reply #10 on: May 26, 2018, 11:39:13 PM »
Hi LiaoMi,
The demo is running at full throttle, no fps limitations. I hope not to fry people's graphics card. :redface:

felipe

  • Member
  • ****
  • Posts: 970
  • Eagles are just great!
Re: 64-bit DirectX 11
« Reply #11 on: May 27, 2018, 08:55:35 AM »
I hope not to fry people's graphics card. :redface:

Don't think so, i will not watch the rotating cubes all day and night... :bgrin:
Felipe.