|
Blender V5.3
|
#include <gpu_shader_update_mipmaps.bsl.hh>
Public Member Functions | |
| void | store_sample (int2 dst_coord, float4 color) |
| float4 | load_sample (int2 src_coord) |
Public Attributes | |
| uint | intermediate_level [MAX_SHARED_SAMPLES][MAX_SHARED_SAMPLES] |
Shared storage that can store intermediate results in an SRGB encoded uint.
Definition at line 109 of file gpu_shader_update_mipmaps.bsl.hh.
Definition at line 127 of file gpu_shader_update_mipmaps.bsl.hh.
References intermediate_level, builtin::mipmaps::srgb_to_linearrgb(), unpackUnorm4x8, int2::x, and int2::y.
Definition at line 116 of file gpu_shader_update_mipmaps.bsl.hh.
References intermediate_level, builtin::mipmaps::linearrgb_to_srgb(), packUnorm4x8(), int2::x, and int2::y.
| uint builtin::mipmaps::SharedSRGB::intermediate_level[MAX_SHARED_SAMPLES][MAX_SHARED_SAMPLES] |
When generating 2 levels, the results the first level are cached here; this is the input tile needed to generate the 8x8 tile of the second level.
Definition at line 114 of file gpu_shader_update_mipmaps.bsl.hh.
Referenced by load_sample(), and store_sample().