mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
only do pointer value visualization with valid pointer spaces; otherwise it is just a value
This commit is contained in:
@@ -1829,7 +1829,11 @@ ev_string_iter_next(Arena *arena, EV_StringIter *it, String8 *out_string)
|
||||
U8 byte = 0;
|
||||
U64 byte_bad_flags = 0;
|
||||
E_SpaceRangeInfo range_info = {.byte_bad_flags = &byte_bad_flags};
|
||||
if(e_space_read(ptr_data->value_eval.space, &byte, &range_info, r1u64(ptr_data->value_eval.value.u64, ptr_data->value_eval.value.u64+1)))
|
||||
if(ptr_data->value_eval.space.kind == E_SpaceKind_Null)
|
||||
{
|
||||
ptr_data->addr_is_good = 1;
|
||||
}
|
||||
else if(e_space_read(ptr_data->value_eval.space, &byte, &range_info, r1u64(ptr_data->value_eval.value.u64, ptr_data->value_eval.value.u64+1)))
|
||||
{
|
||||
ptr_data->addr_is_good = !(byte_bad_flags & 1);
|
||||
}
|
||||
|
||||
@@ -190,7 +190,6 @@ str8_lit_comp(
|
||||
"uniform vec4 rect;\n"
|
||||
"uniform vec4 corner_radii_px;\n"
|
||||
"uniform vec2 viewport_size;\n"
|
||||
"uniform uint blur_count;\n"
|
||||
"\n"
|
||||
"out vec2 texcoord;\n"
|
||||
"out vec2 sdf_sample_pos;\n"
|
||||
|
||||
@@ -214,7 +214,6 @@ void main(void)
|
||||
uniform vec4 rect;
|
||||
uniform vec4 corner_radii_px;
|
||||
uniform vec2 viewport_size;
|
||||
uniform uint blur_count;
|
||||
|
||||
out vec2 texcoord;
|
||||
out vec2 sdf_sample_pos;
|
||||
|
||||
Reference in New Issue
Block a user