gallium/util: whitespace, formatting fixes in u_debug.c
[mesa.git] / src / gallium / auxiliary / rbug / rbug_shader.c
index fccd2f55efd2446ec74123d1e8528989b339c6de..7765f761461388bf2d01a95e0a992cbb1958ee12 100644 (file)
@@ -35,7 +35,7 @@
  */
 
 #include "rbug_internal.h"
-#include "rbug/rbug_shader.h"
+#include "rbug_shader.h"
 
 int rbug_send_shader_list(struct rbug_connection *__con,
                           rbug_context_t context,
@@ -305,7 +305,7 @@ struct rbug_proto_shader_list * rbug_demarshal_shader_list(struct rbug_proto_hea
 
        if (!header)
                return NULL;
-       if (header->opcode != (int16_t)RBUG_OP_SHADER_LIST)
+       if (header->opcode != (int32_t)RBUG_OP_SHADER_LIST)
                return NULL;
 
        pos = 0;
@@ -332,7 +332,7 @@ struct rbug_proto_shader_info * rbug_demarshal_shader_info(struct rbug_proto_hea
 
        if (!header)
                return NULL;
-       if (header->opcode != (int16_t)RBUG_OP_SHADER_INFO)
+       if (header->opcode != (int32_t)RBUG_OP_SHADER_INFO)
                return NULL;
 
        pos = 0;
@@ -360,7 +360,7 @@ struct rbug_proto_shader_disable * rbug_demarshal_shader_disable(struct rbug_pro
 
        if (!header)
                return NULL;
-       if (header->opcode != (int16_t)RBUG_OP_SHADER_DISABLE)
+       if (header->opcode != (int32_t)RBUG_OP_SHADER_DISABLE)
                return NULL;
 
        pos = 0;
@@ -389,7 +389,7 @@ struct rbug_proto_shader_replace * rbug_demarshal_shader_replace(struct rbug_pro
 
        if (!header)
                return NULL;
-       if (header->opcode != (int16_t)RBUG_OP_SHADER_REPLACE)
+       if (header->opcode != (int32_t)RBUG_OP_SHADER_REPLACE)
                return NULL;
 
        pos = 0;
@@ -418,7 +418,7 @@ struct rbug_proto_shader_list_reply * rbug_demarshal_shader_list_reply(struct rb
 
        if (!header)
                return NULL;
-       if (header->opcode != (int16_t)RBUG_OP_SHADER_LIST_REPLY)
+       if (header->opcode != (int32_t)RBUG_OP_SHADER_LIST_REPLY)
                return NULL;
 
        pos = 0;
@@ -446,7 +446,7 @@ struct rbug_proto_shader_info_reply * rbug_demarshal_shader_info_reply(struct rb
 
        if (!header)
                return NULL;
-       if (header->opcode != (int16_t)RBUG_OP_SHADER_INFO_REPLY)
+       if (header->opcode != (int32_t)RBUG_OP_SHADER_INFO_REPLY)
                return NULL;
 
        pos = 0;