LIBCOMPILER_FILES = \
- blob.c \
- blob.h \
builtin_type_macros.h \
glsl_types.cpp \
glsl_types.h \
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-test(
- 'blob_test',
- executable(
- 'blob_test',
- 'blob_test.c',
- c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
- include_directories : [inc_common, inc_compiler],
- link_with : [libglsl],
- ),
- suite : ['compiler', 'glsl'],
-)
-
if with_shader_cache
test(
'cache_test',
#include <assert.h>
#include "shader_enums.h"
-#include "blob.h"
#include "c11/threads.h"
+#include "util/blob.h"
#include "util/macros.h"
#ifdef __cplusplus
inc_spirv = include_directories('spirv')
files_libcompiler = files(
- 'blob.c',
- 'blob.h',
'builtin_type_macros.h',
'glsl_types.cpp',
'glsl_types.h',
#define _NIR_SERIALIZE_H
#include "nir.h"
-#include "compiler/blob.h"
+#include "util/blob.h"
#ifdef __cplusplus
extern "C" {
#include <assert.h>
#include <string.h>
-#include "compiler/blob.h"
#include "compiler/nir/nir.h"
+#include "util/blob.h"
#include "util/build_id.h"
#include "util/disk_cache.h"
#include "util/mesa-sha1.h"
* IN THE SOFTWARE.
*/
-#include "compiler/blob.h"
+#include "util/blob.h"
#include "util/hash_table.h"
#include "util/debug.h"
#include "util/disk_cache.h"
* IN THE SOFTWARE.
*/
-#include "compiler/blob.h"
#include "compiler/glsl/ir_uniform.h"
#include "compiler/glsl/shader_cache.h"
#include "main/mtypes.h"
+#include "util/blob.h"
#include "util/build_id.h"
#include "util/debug.h"
#include "util/disk_cache.h"
*/
-#include "compiler/blob.h"
#include "compiler/glsl/serialize.h"
#include "main/errors.h"
#include "main/mtypes.h"
#include "main/shaderapi.h"
#include "util/bitscan.h"
+#include "util/blob.h"
#include "util/crc32.h"
#include "program_binary.h"
#include "program/prog_parameter.h"
#define ST_SHADER_CACHE_H
#include "st_context.h"
-#include "compiler/blob.h"
#include "main/mtypes.h"
#include "pipe/p_state.h"
+#include "util/blob.h"
#include "util/disk_cache.h"
#include "util/mesa-sha1.h"
bitscan.c \
bitscan.h \
bitset.h \
+ blob.c \
+ blob.h \
build_id.c \
build_id.h \
crc32.c \
'bitscan.c',
'bitscan.h',
'bitset.h',
+ 'blob.c',
+ 'blob.h',
'build_id.c',
'build_id.h',
'crc32.c',
dep_thread,
dep_atomic,
dep_m,
+ dep_valgrind,
]
if with_platform_android
)
test(
+ 'blob',
+ executable(
+ 'blob_test',
+ files('blob_test.c'),
+ include_directories : inc_common,
+ dependencies : idep_mesautil,
+ c_args : [c_msvc_compat_args],
+ ),
+ suite : ['util'],
+ )
+
+ test(
'roundeven',
executable(
'roundeven_test',