Changeset 27139

Timestamp:
Oct 9, 2022, 3:03:42 PM (22 months ago)
Author:
Vladislav Belov
Message:

Fixes calls to SetVertexAttributeFormat with zero stride.

Location:
ps/trunk/source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/graphics/LOSTexture.cpp

    r27041 r27139  
    193193    deviceCommandContext->SetVertexAttributeFormat(
    194194        Renderer::Backend::VertexAttributeStream::POSITION,
    195         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     195        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    196196        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    197197    deviceCommandContext->SetVertexAttributeFormat(
    198198        Renderer::Backend::VertexAttributeStream::UV0,
    199         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     199        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    200200        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 1);
    201201
  • ps/trunk/source/graphics/MiniMapTexture.cpp

    r27137 r27139  
    107107    deviceCommandContext->SetVertexAttributeFormat(
    108108        Renderer::Backend::VertexAttributeStream::POSITION,
    109         Renderer::Backend::Format::R32G32B32_SFLOAT, 0, 0,
     109        Renderer::Backend::Format::R32G32B32_SFLOAT, 0, ,
    110110        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    111111    deviceCommandContext->SetVertexAttributeFormat(
    112112        Renderer::Backend::VertexAttributeStream::UV0,
    113         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     113        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    114114        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 1);
    115115
  • ps/trunk/source/renderer/DebugRenderer.cpp

    r27016 r27139  
    130130    deviceCommandContext->SetVertexAttributeFormat(
    131131        Renderer::Backend::VertexAttributeStream::POSITION,
    132         Renderer::Backend::Format::R32G32B32_SFLOAT, 0, 0,
     132        Renderer::Backend::Format::R32G32B32_SFLOAT, 0, ,
    133133        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    134134    deviceCommandContext->SetVertexBufferData(
     
    185185    deviceCommandContext->SetVertexAttributeFormat(
    186186        Renderer::Backend::VertexAttributeStream::POSITION,
    187         Renderer::Backend::Format::R32G32B32_SFLOAT, 0, 0,
     187        Renderer::Backend::Format::R32G32B32_SFLOAT, 0, ,
    188188        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    189189    deviceCommandContext->SetVertexBufferData(
     
    265265    deviceCommandContext->SetVertexAttributeFormat(
    266266        Renderer::Backend::VertexAttributeStream::POSITION,
    267         Renderer::Backend::Format::R32G32B32_SFLOAT, 0, 0,
     267        Renderer::Backend::Format::R32G32B32_SFLOAT, 0, ,
    268268        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    269269    deviceCommandContext->SetVertexBufferData(
     
    288288    deviceCommandContext->SetVertexAttributeFormat(
    289289        Renderer::Backend::VertexAttributeStream::POSITION,
    290         Renderer::Backend::Format::R32G32B32_SFLOAT, 0, 0,
     290        Renderer::Backend::Format::R32G32B32_SFLOAT, 0, ,
    291291        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    292292    deviceCommandContext->SetVertexBufferData(
     
    349349    deviceCommandContext->SetVertexAttributeFormat(
    350350        Renderer::Backend::VertexAttributeStream::POSITION,
    351         Renderer::Backend::Format::R32G32B32_SFLOAT, 0, 0,
     351        Renderer::Backend::Format::R32G32B32_SFLOAT, 0, ,
    352352        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    353353    deviceCommandContext->SetVertexBufferData(
     
    403403    deviceCommandContext->SetVertexAttributeFormat(
    404404        Renderer::Backend::VertexAttributeStream::POSITION,
    405         Renderer::Backend::Format::R32G32B32_SFLOAT, 0, 0,
     405        Renderer::Backend::Format::R32G32B32_SFLOAT, 0, ,
    406406        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    407407    deviceCommandContext->SetVertexBufferData(
  • ps/trunk/source/renderer/OverlayRenderer.cpp

    r27137 r27139  
    639639    deviceCommandContext->SetVertexAttributeFormat(
    640640        Renderer::Backend::VertexAttributeStream::POSITION,
    641         Renderer::Backend::Format::R32G32B32_SFLOAT, 0, 0,
     641        Renderer::Backend::Format::R32G32B32_SFLOAT, 0, ,
    642642        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    643643    deviceCommandContext->SetVertexAttributeFormat(
    644644        Renderer::Backend::VertexAttributeStream::UV0,
    645         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     645        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    646646        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 1);
    647647
  • ps/trunk/source/renderer/PostprocManager.cpp

    r26901 r27139  
    234234    deviceCommandContext->SetVertexAttributeFormat(
    235235        Renderer::Backend::VertexAttributeStream::POSITION,
    236         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     236        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    237237        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    238238    deviceCommandContext->SetVertexAttributeFormat(
    239239        Renderer::Backend::VertexAttributeStream::UV0,
    240         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     240        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    241241        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 1);
    242242
     
    304304    deviceCommandContext->SetVertexAttributeFormat(
    305305        Renderer::Backend::VertexAttributeStream::POSITION,
    306         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     306        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    307307        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    308308    deviceCommandContext->SetVertexAttributeFormat(
    309309        Renderer::Backend::VertexAttributeStream::UV0,
    310         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     310        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    311311        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 1);
    312312
     
    344344    deviceCommandContext->SetVertexAttributeFormat(
    345345        Renderer::Backend::VertexAttributeStream::POSITION,
    346         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     346        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    347347        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    348348    deviceCommandContext->SetVertexAttributeFormat(
    349349        Renderer::Backend::VertexAttributeStream::UV0,
    350         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     350        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    351351        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 1);
    352352
     
    478478    deviceCommandContext->SetVertexAttributeFormat(
    479479        Renderer::Backend::VertexAttributeStream::POSITION,
    480         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     480        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    481481        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0);
    482482    deviceCommandContext->SetVertexAttributeFormat(
    483483        Renderer::Backend::VertexAttributeStream::UV0,
    484         Renderer::Backend::Format::R32G32_SFLOAT, 0, 0,
     484        Renderer::Backend::Format::R32G32_SFLOAT, 0, ,
    485485        Renderer::Backend::VertexAttributeRate::PER_VERTEX, 1);
    486486
Note: See TracChangeset for help on using the changeset viewer.