Skip to content

Conversation

@AnastaZIuk
Copy link
Member

No description provided.

small change to make sure `ditt` doesn't autodelete
…ubresource bitflags to not trigger asserts, update examples_tests submodule
…experimental, no real validation), update examples_tests submodule
…arguments in json payload, CI should pass now
… with GPU converter, encode to EF_A2R10G10B10_UNORM_PACK32, update examples_tests submodule
…hlsl/pc.hlsl to allow me precompile unified uber shader, a little formatting, update examples_tests submodule
…add sample function overload to sampler.hlsl, create include/nbl/builtin/hlsl/ies/texture.hlsl to share texel write method between C++ & HLSL (the correct one including blending and corner sampling)

TODO: need to update IES viewer example to compile again and clean bindings a bit (keep only octahedral image to write and sample from + add new ies::Texture::SInfo)
…sts & use NBL_CONST_MEMBER_FUNC, update examples_tests submodule
// ISOTROPIC_BITS = 0b011, texture to sample is Nx1, pretend v=middle always , and make u REPEAT or CLAMP_TO_BORDER
// FULL_THETA_BIT = 0b100, handle truncated domain and rotate by 45 degrees for anisotropic
// (certain combos wont work like 90 degree 2 symmetry domain & half theta), it really needs to be an 8 case label thing explicitly enumerated
vec2 nbl_glsl_IES_convert_dir_to_uv(vec3 dir, vec2 halfMinusHalfPixel)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: forgot to wipe, not used anymore

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDIT: file to remove but leaving it due to reference in material compiler glsl

float sum = dot(vec3(1.0f), abs(dir));
// TODO: when rewriting to HLSL this is not IES namespace or folder, this should be octahedral mapping sitting somewhere where the spherical/polar sits
// NOTE: I changed it to return NDC [-1,1]^2 instead of UV coords [0,1]^2
vec2 nbl_glsl_TODOnamespace_octahedral_mapping(vec3 dir)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: forgot to wipe, not used anymore

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDIT: file to remove but leaving it due to reference in material compiler glsl

…iltins API to support config-genex, fix .spv custom command

it was building all configs per single config (and embedding all 3 into single archive)
…luded in headers, not exported and its private interface actually

they might be installed but then shall be exported and it requires polishing what content they include as they should hide all info about keys to keep our install single prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants