GithubHelp home page GithubHelp logo

Comments (3)

mklefrancois avatar mklefrancois commented on July 27, 2024

When switching from StructuredBuffer to ConstantBuffer, a different validation error related to OpImageQuerySizeLod occurs. Although this change was not intended, it is unexpected.

Code change

From To
StructuredBuffer<SceneDescriptionSlang> ConstantBuffer<SceneDescriptionSlang>
sceneDesc[0]. sceneDesc.

Validation Error

ERROR: VUID-VkShaderModuleCreateInfo-pCode-08737
 --> Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-08737 ] | MessageID = 0xa5625282 | vkCreateShaderModule(): pCreateInfo->pCode is not valid SPIR-V: [VUID-StandaloneSpirv-OpImageQuerySizeLod-04659] OpImageQuerySizeLod must only consume an "Image" operand whose type has its "Sampled" operand set to 1
  %vecSize = OpImageQuerySizeLod %v2uint %58 %int_0
. The Vulkan spec states: If pCode is a pointer to SPIR-V code, pCode must adhere to the validation rules described by the Validation Rules within a Module section of the SPIR-V Environment appendix (https://vulkan.lunarg.com/doc/view/1.3.268.0/windows/1.3-extensions/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-08737)

from slang.

csyonghe avatar csyonghe commented on July 27, 2024

@expipiplus1 Would you please prioritize on this issue once the SSBO work is done?

from slang.

expipiplus1 avatar expipiplus1 commented on July 27, 2024

Working on this now

from slang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.