Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
G
glslang
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • glslang
  • Repository

Switch branch/tag
  • glslang
  • Test
  • hlsl.samplecmp.negative.frag
Find file
BlameHistoryPermalink
  • LoopDawg's avatar
    HLSL: force textures to shadow modes from combined samplers · 195f584e
    LoopDawg authored Sep 27, 2017
    Texture shadow mode must match the state of the sampler they are
    combined with.  This change does that, both for the AST and the
    symbol table.  Note that the texture cannot easily be *created*
    the right way, because this may not be known at that time.  Instead,
    the texture is subsequently patched.
    
    This cannot work if a single texture is used with both a shadow and
    non-shadow sampler, so that case is detected and generates an error.
    This is permitted by the HLSL language, however.  See #1073 discussion.
    
    Fixed one test source that was using a texture with both shadow and
    non-shadow samplers.
    195f584e
hlsl.samplecmp.negative.frag 348 Bytes
EditWeb IDE
×

Replace hlsl.samplecmp.negative.frag

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.