Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardodoria authored Jan 24, 2024
1 parent 985f24a commit 85096cf
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,20 @@ Each block header is 8 bytes ( uint32_t fourcc code + uint32_t for size).
- **struct sbs_stage**
- **[CODE or DATA]** block: actual code or binary (byte-code) data for the shader stage
- **REFL** block: Reflection data for the shader stage
- **struct sbs_chunk_refl**: reflection data header
- **struct sbs_refl_input[]**: array of vertex-shader input attributes (see `sbs_chunk_refl` for number of inputs)
- **struct sbs_refl_uniformblock[]**: array of uniform blocks objects (see `sbs_chunk_refl` for number of uniform blocks)
- **struct sbs_refl_texture[]**: array of texture objects (see `sbs_chunk_refl` for number of textures)

- **struct sbs_chunk_refl**: reflection data header
- **struct sbs_refl_input[]**: array of vertex-shader input attributes (see `sbs_chunk_refl` for number of inputs)
- **struct sbs_refl_texture[]**: array of texture objects (see `sbs_chunk_refl` for number of textures)
- **struct sbs_refl_sampler[]**: array of sampler objects (see `sbs_chunk_refl` for number of samplers)
- **struct sbs_refl_texture_sampler[]**: array of texture-sampler pair objects (see `sbs_chunk_refl` for number of pairs)
- **struct sbs_refl_uniformblock[]**: array of uniform blocks objects (see `sbs_chunk_refl` for number of uniform blocks)
- **struct sbs_refl_uniform[]**: array of uniform objects (see `sbs_refl_uniformblock.num_uniforms` for number of uniforms)

### Updates

#### 1.4
- Changed json to be default output type format
- Created sampler and texture-sampler pair blocks
- Input and output shaders validation

#### 1.3
- Changed json and sbs file spec to support uniform blocks with float and int types inside
Expand Down

0 comments on commit 85096cf

Please sign in to comment.