Steam Enables Shader-Pre-Caching

Discussion in 'Frontpage news' started by Hilbert Hagedoorn, Dec 14, 2017.

  1. Neo Cyrus

    Neo Cyrus Ancient Guru

    Messages:
    10,780
    Likes Received:
    1,393
    GPU:
    黃仁勳 stole my 4090
    Open GL and Vulkan... that applies to all of none of my Steam library.
     
  2. pittiez

    pittiez Guest

    Messages:
    19
    Likes Received:
    0
    GPU:
    680x2
    im no game developer but i used to make custom shader mods for APB and i got quite experienced with it.



    facts:
    1. shader language is actually called hlsl or high level shader language
    2. hlsl only has access to visual data of the pixel, depth/rgb/transparency and some game var data
    3. using precompiled shaders is a giant time safer
    4. nvidia shader cache requires user to compile them at least once
    5. good example of the shaders hackability is the reshade mods for games or drawing a custom crosshair to a game
    6. there is zero security concers, even if it was posible to code malware in hlsl, the code would run inside the gpu games sandbox, cannot access the cpu/ram/storage/processes/drivers....
     
  3. lucidus

    lucidus Ancient Guru

    Messages:
    11,808
    Likes Received:
    1,384
    GPU:
    .
    You need Doom in your life :p
     
  4. __hollywood|meo

    __hollywood|meo Ancient Guru

    Messages:
    2,991
    Likes Received:
    139
    GPU:
    6700xt @2.7ghz
    i guarantee you i could write something to hard lock the exe at least, & i can hardly code properly. i admit its extremely unlikely for this to actually come up & cause an issue for anybody, but ive poked enough holes in the steam API itself that im personally uncomfortable with the prospect. the only thing ill use steam cloud for is my profile & game saves.

    not trying to harp on about this, so ill shut up now. its a neat feature, just poorly implemented.
     

  5. XP-200

    XP-200 Ancient Guru

    Messages:
    6,394
    Likes Received:
    1,770
    GPU:
    MSI Radeon RX 6400
    I am glad you managed to cache this story.......yeah i know, just horrible in every way, i think i just set the english language back 600 years, i'l get me coat. lol
     
    lucidus likes this.
  6. Alessio1989

    Alessio1989 Ancient Guru

    Messages:
    2,941
    Likes Received:
    1,239
    GPU:
    .
    It is safe since shaders lacks of the semantics to do that. It is the driver job to state what the driver can see and it's the runtime (if present, ie no open-gl job what the driver will tell the GPU. What does this mean? A GPU cannot see what password you are typing, doesn't matter if the GUI where you type the password is accelerated with the GPU.
     
    Last edited: Dec 17, 2017

Share This Page