31 if (dst.
size() == 0) {
40 for (
uint i = 0; i < dst.
size(); i++) {
42 for (
uint j = 1; j <
src.size(); j++) {
73 const char format[] =
" | %.8x : %4d : %s\n";
75 if (attrs.
size() > 0) {
76 printf(
"\n Attributes :\n");
79 printf(
format, attr.name_hash, attr.location, name_buf + attr.name_offset);
82 if (uniforms.
size() > 0) {
83 printf(
"\n Uniforms :\n");
87 if (uni.binding == -1) {
88 printf(
format, uni.name_hash, uni.location, name_buf + uni.name_offset);
92 if (ubos.
size() > 0) {
93 printf(
"\n Uniform Buffer Objects :\n");
96 printf(
format, ubo.name_hash, ubo.binding, name_buf + ubo.name_offset);
100 printf(
"\n Samplers :\n");
104 if (samp.binding != -1) {
105 printf(
format, samp.name_hash, samp.binding, name_buf + samp.name_offset);
109 if (ssbos.
size() > 0) {
110 printf(
"\n Shader Storage Objects :\n");
113 printf(
format, ssbo.name_hash, ssbo.binding, name_buf + ssbo.name_offset);
Read Guarded memory(de)allocation.
constexpr int64_t size() const
constexpr int64_t size() const
MutableSpan< T > as_mutable_span()
uint64_t enabled_tex_mask_
virtual ~ShaderInterface()
SyclQueue void void * src
void(* MEM_freeN)(void *vmemh)
static void sort_input_list(MutableSpan< ShaderInput > dst)