News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

64-bit DirectX 11 - Part 2 - Text, Sphere

Started by aw27, June 04, 2018, 04:05:31 AM

Previous topic - Next topic

felipe

Hi caché gb, thanks for your reply with code to test. i did the copy paste changes provided for you. apart from changing this as you suggested:

D3D_FEATURE_LEVEL_11_1  EQU 0B100h

i changed null by NULL and all assembled well.
After that i tested the "new" program and it showed the same error. I checked the value in the local variable feature as you indicated and the value (after the call to D3D11CreateDeviceAndSwapChain) was 0A000h.
so if you are right about this statement:
Quotethen your gfx is running DX11 'on' DX10 and you can access all the, wait for it Common COM Components...Things for DX11 only, like Hardware Tessellation will BREAK.
Also Shader Modal 5 is a no no. Use 4.0 or 4.1 instead.
i guess this means that my graphics card has full support for dx10. but my question is: the support for dx11 is none or just limited to the more basic stuffs?
Thanks a lot for your help and time.  :thumbsup:

Caché GB

Hi felipe, all good.

"your gfx is running DX11 'on' DX10" - Caché GB

Did I say that?

Just goes to show I should refrain from posting in the
forum while Dr. Bell's is conducting a home consultation.

Re Reply #11, #20

From Google

How to determine the version of DirectX by using the DirectX Diagnostic Tool
1. Click Start, and then click Run.
2. Type dxdiag, and then click OK.
3. On the System tab, note the version of DirectX that is displayed on the DirectX Version line.


Solving felipe's graphics card problems telepathically.  Level - ???


I've gone through AW's code for you (reminds me of "Pair Programming")

https://www.youtube.com/watch?v=hc7jHnH5ijE

and noticed a potential problem.

In the DXGI.inc file, line 224, is the define for the DXGI_SWAP_CHAIN_DESC STRUCT.

Make it QWORD aligned like this

DXGI_SWAP_CHAIN_DESC STRUCT QWORD
  BufferDesc DXGI_MODE_DESC <>
  SampleDesc DXGI_SAMPLE_DESC <>
  ...

Yes, that it, align it to QWORD.


Talking about qWord, where is he. O'well probably got hijacked by blond twins.
Caché GB's 1 and 0-nly language:MASM

daydreamer

Quote from: felipe on September 22, 2020, 12:01:36 AM
so if you are right about this statement:
Quotethen your gfx is running DX11 'on' DX10 and you can access all the, wait for it Common COM Components...Things for DX11 only, like Hardware Tessellation will BREAK.
Also Shader Modal 5 is a no no. Use 4.0 or 4.1 instead.
i guess this means that my graphics card has full support for dx10. but my question is: the support for dx11 is none or just limited to the more basic stuffs?
Thanks a lot for your help and time.  :thumbsup:
maybe this explains whats different caps between the different dx versions
https://docs.microsoft.com/en-us/windows/win32/direct3d11/overviews-direct3d-11-devices-downlevel-intro
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

felipe

I changed the struct aligment in the dxinc file, but the program shows the same error.

Quote from: Caché GB on September 22, 2020, 03:56:29 AM
I've gone through AW's code for you (reminds me of "Pair Programming")

https://www.youtube.com/watch?v=hc7jHnH5ijE

Althought this video is funny, what do you mean by this? are you hinting that i'm a complete useless programmer? please don't feel any kind of pressure with this, noone is forcing you to help in any kind of way. i really don't have the time to dedicate to this problem for now, so don't you worry if i can't solve the problem. anyway is just a "demo" program.  :icon_idea:

Caché GB

No felipe, I think you are great programmer and I give my help willingly.

I was having a dig at AW's code because he does that to other members.
Maybe a bit Geeky of me since his acc. is deleted and he can't respond.
Caché GB's 1 and 0-nly language:MASM

felipe

ok caché gb, sorry. thanks a lot by the way.  :thup:
Quotehis acc. is deleted
didn't know that. was "auto-deleted" or "admin-deleted"?
just curious hutch  :bgrin:

felipe

by the way, that ex-google guy from youtube has some funny videos  :tongue:. thanks for the tip caché gb  :azn: