All Projects → luxuia → dxbc_reader

luxuia / dxbc_reader

Licence: Apache-2.0 License
easy to read hlsl asm shader code. parse dxbc text and export hlsl like for read

Programming Languages

lua
6591 projects
HLSL
714 projects

Projects that are alternatives of or similar to dxbc reader

Hlslexplorer
See how hardware understands your HLSL
Stars: ✭ 91 (-53.09%)
Mutual labels:  asm, shader, hlsl
Water Shader
Procedural water shader for general use.
Stars: ✭ 183 (-5.67%)
Mutual labels:  shader, hlsl
Bloodfx
Procedural blood stain shader
Stars: ✭ 170 (-12.37%)
Mutual labels:  shader, hlsl
Unity Shaders
✨ Shader demo - More than 300 examples
Stars: ✭ 198 (+2.06%)
Mutual labels:  shader, hlsl
Glslang
Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.
Stars: ✭ 2,034 (+948.45%)
Mutual labels:  shader, hlsl
Unityurptoonlitshaderexample
A very simple toon lit shader example, for you to learn writing custom lit shader in Unity URP
Stars: ✭ 2,988 (+1440.21%)
Mutual labels:  shader, hlsl
Spirv Vm
Virtual machine for executing SPIR-V
Stars: ✭ 173 (-10.82%)
Mutual labels:  shader, hlsl
VRC-Cancerspace
Cancerous screenspace shader for VRChat. Please use responsibly. :^)
Stars: ✭ 55 (-71.65%)
Mutual labels:  shader, hlsl
hassle-rs
🦀 This crate provides an FFI layer and idiomatic rust wrappers for the new DirectXShaderCompiler library.
Stars: ✭ 34 (-82.47%)
Mutual labels:  shader, hlsl
Dxbc2Dxil
DEPRECATED. DXBC to DXIL (HLSL Bytecode to LLVM IR) using internal APIs.
Stars: ✭ 21 (-89.18%)
Mutual labels:  hlsl, dxbc
Unity Raymarching Framework
A framework to easy implement raymarching in unity. Include lots of hash,noise,fbm,SDF,rotate functions
Stars: ✭ 129 (-33.51%)
Mutual labels:  shader, hlsl
UnityChanToonShaderVer2 Project
UTS2-AC - UnityChanToonShaderVer2 Project / v.2.0.4+ - Different vrchat support, lighting manipulation, and style.
Stars: ✭ 14 (-92.78%)
Mutual labels:  shader, hlsl
Proccharvfx
Procedural character generation with Unity Shader Graph and VFX Graph
Stars: ✭ 114 (-41.24%)
Mutual labels:  shader, hlsl
Computestochasticreflections
Compute Stochastic Screen Space Reflections for unity post processing
Stars: ✭ 163 (-15.98%)
Mutual labels:  shader, hlsl
Gpu Planetary Rendering
GPU atmosphertic scattering and planet generation in Unity 3D
Stars: ✭ 92 (-52.58%)
Mutual labels:  shader, hlsl
Pbr proj
Shader of PBR for Unity
Stars: ✭ 68 (-64.95%)
Mutual labels:  shader, hlsl
Shaderconductor
ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages
Stars: ✭ 1,146 (+490.72%)
Mutual labels:  shader, hlsl
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+5929.9%)
Mutual labels:  shader, hlsl
Recaf
The modern Java bytecode editor
Stars: ✭ 3,374 (+1639.18%)
Mutual labels:  asm, decompile
VaKawaseBlur
Fast and furious Kawase blur implementation for Unreal Engine 4
Stars: ✭ 37 (-80.93%)
Mutual labels:  shader, hlsl

[feature]

FULL sm4.0 support(little sm5.0)
easy to use & easy to read

[usage]

.\lua\lua.exe dxbc_reader.lua example/fragment.txt -o dxbc.out

-o output [output filename]
-d true   [enable debug info]

translate DXBC code like:

    dp4 r0.x, cb2[8].xyzw, v0.xyzw               >>    r0.x = dot(CBUSE_UB_LOCAL_MATRIX_IDX.u_mtxLP[0].xyzw, in.POSITION.xyzw)
    mov o0.x, r0.x                               >>    out.SV_Position.x = r0.x
    dp4 r1.y, cb2[9].xyzw, v0.xyzw               >>    r1.y = dot(CBUSE_UB_LOCAL_MATRIX_IDX.u_mtxLP[1].xyzw, in.POSITION.xyzw)
    dp4 r1.z, cb2[10].xyzw, v0.xyzw              >>    r1.z = dot(CBUSE_UB_LOCAL_MATRIX_IDX.u_mtxLP[2].xyzw, in.POSITION.xyzw)
    dp4 r1.w, cb2[11].xyzw, v0.xyzw              >>    r1.w = dot(CBUSE_UB_LOCAL_MATRIX_IDX.u_mtxLP[3].xyzw, in.POSITION.xyzw)
    mov o0.yzw, r1.yyzw                          >>    out.SV_Position.yzw = r1.yzw
    mov r0.y, -r1.y                              >>    r0.y = -r1.y
    add r0.xy, r0.xyxx, r1.wwww                  >>    r0.xy = r0.xy + r1.ww
    mov o4.zw, r1.zzzw                           >>    out.TEXCOORD4.zw = r1.zw
    mul o4.xy, r0.xyxx, l(0.500000, 0.500000)    >>    out.TEXCOORD4.xy = r0.xy * float2(0.5, 0.5)
    add r0.x, l(1.000000), cb3[2].x              >>    r0.x = 1.0 + CBUSE_UB_MODEL_MATERIAL_IDX.u_ambient.x
    mul r1.xyzw, v1.xyzw, cb3[1].xyzw            >>    r1.xyzw = in.COLOR.xyzw * CBUSE_UB_MODEL_MATERIAL_IDX.u_diffuse.xyzw
    mul o1.xyz, r0.xxxx, r1.xyzx                 >>    out.TEXCOORD1.xyz = r0.xxx * r1.xyz
    mov o1.w, r1.w                               >>    out.TEXCOORD1.w = r1.w
    mov o2.zw, l(0,0,0,0)                        >>    out.TEXCOORD2.zw = float2(0, 0)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].