Lines Matching refs:value_int
232 GLint value_int;
722 v->value_int = ctx->Version / 10;
725 v->value_int = ctx->Version % 10;
740 v->value_int = ctx->Line.StipplePattern;
787 v->value_int = ctx->TextureMatrixStack[unit].Depth + 1;
825 v->value_int = *(GLuint *) ((char *) array + d->offset);
830 v->value_int = array->Format.Size;
835 v->value_int = array->Format.Size;
839 v->value_int = GL_TEXTURE0_ARB + ctx->Texture.CurrentUnit;
842 v->value_int = GL_TEXTURE0_ARB + ctx->Array.ActiveTexture;
847 v->value_int = *(GLint *) ((char *) ctx + d->offset) + 1;
854 v->value_int = 1 << (*p - 1);
869 v->value_int =
910 v->value_int = _mesa_get_stencil_ref(ctx, ctx->Stencil.ActiveFace);
913 v->value_int = _mesa_get_stencil_ref(ctx, 1);
916 v->value_int = ctx->Stencil.ValueMask[ctx->Stencil.ActiveFace];
919 v->value_int = ctx->Stencil.WriteMask[ctx->Stencil.ActiveFace];
923 v->value_int = _mesa_get_extension_count(ctx);
927 v->value_int = _mesa_get_color_read_type(ctx, NULL, "glGetIntegerv");
930 v->value_int = _mesa_get_color_read_format(ctx, NULL, "glGetIntegerv");
934 v->value_int = ctx->CurrentStack->Depth + 1;
942 v->value_int = _mesa_get_compressed_formats(ctx, NULL);
951 v->value_int = ctx->Const.MaxVarying * 4;
968 v->value_int =
974 v->value_int = 1;
988 v->value_int = ctx->pipe->screen->get_device_node_mask(ctx->pipe->screen);
1040 v->value_int = (*buffer_obj) ? (*buffer_obj)->Name : 0;
1044 v->value_int = buf ? buf->Name : 0;
1048 v->value_int = buf ? buf->Name : 0;
1052 v->value_int = buf ? buf->Name : 0;
1058 v->value_int = array->Format.Format == GL_BGRA ? GL_BGRA : array->Format.Size;
1062 v->value_int = array->Format.Format == GL_BGRA ? GL_BGRA : array->Format.Size;
1067 v->value_int = ctx->CopyReadBuffer ? ctx->CopyReadBuffer->Name : 0;
1070 v->value_int = ctx->CopyWriteBuffer ? ctx->CopyWriteBuffer->Name : 0;
1074 v->value_int = ctx->Pack.BufferObj ? ctx->Pack.BufferObj->Name : 0;
1077 v->value_int = ctx->Unpack.BufferObj ? ctx->Unpack.BufferObj->Name : 0;
1080 v->value_int = ctx->TransformFeedback.CurrentBuffer ?
1084 v->value_int = ctx->TransformFeedback.CurrentObject->Paused;
1087 v->value_int = ctx->TransformFeedback.CurrentObject->Active;
1090 v->value_int = ctx->TransformFeedback.CurrentObject->Name;
1105 v->value_int =
1109 v->value_int = ctx->ReadBuffer->Name;
1112 v->value_int =
1117 v->value_int = buf ? buf->Name : 0;
1148 v->value_int = ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents / 4;
1152 v->value_int = ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxUniformComponents / 4;
1157 v->value_int = ctx->Texture.BufferObject ? ctx->Texture.BufferObject->Name : 0;
1161 v->value_int =
1169 v->value_int = buf ? buf->Name : 0;
1173 v->value_int = ctx->Texture.Unit[ctx->Texture.CurrentUnit]
1182 v->value_int = samp ? samp->Name : 0;
1187 v->value_int = ctx->UniformBuffer ? ctx->UniformBuffer->Name : 0;
1191 v->value_int = ctx->ShaderStorageBuffer ? ctx->ShaderStorageBuffer->Name : 0;
1195 v->value_int = ctx->QueryBuffer ? ctx->QueryBuffer->Name : 0;
1207 v->value_int = _mesa_get_debug_state_int(ctx, d->pname);
1211 v->value_int = ctx->AtomicBuffer ? ctx->AtomicBuffer->Name : 0;
1215 v->value_int = _mesa_get_shading_language_version(ctx, -1, NULL);
1219 v->value_int = ctx->DrawIndirectBuffer ? ctx->DrawIndirectBuffer->Name: 0;
1223 v->value_int = ctx->ParameterBuffer ? ctx->ParameterBuffer->Name : 0;
1228 v->value_int = ctx->Pipeline.Current->Name;
1230 v->value_int = 0;
1235 v->value_int = ctx->DispatchIndirectBuffer ?
1240 v->value_int = _mesa_geometric_samples(ctx->DrawBuffer);
1243 v->value_int = _mesa_geometric_samples(ctx->DrawBuffer) > 0;
1247 v->value_int = (ctx->DrawBuffer->_IntegerBuffers != 0);
1266 v->value_int = info.total_device_memory;
1268 v->value_int = info.total_device_memory +
1271 v->value_int = info.avail_device_memory;
1273 v->value_int = info.nr_device_memory_evictions;
1275 v->value_int = info.device_memory_evicted;
1309 v->value_int = _mesa_get_spirv_extension_count(ctx);
1315 v->value_int = ctx->Shared->DisjointOperation;
2513 v->value_int = (ctx->Color.BlendEnabled >> index) & 1;
2523 v->value_int = ctx->Color.Blend[index].SrcRGB;
2530 v->value_int = ctx->Color.Blend[index].SrcA;
2539 v->value_int = ctx->Color.Blend[index].DstRGB;
2546 v->value_int = ctx->Color.Blend[index].DstA;
2553 v->value_int = ctx->Color.Blend[index].EquationRGB;
2560 v->value_int = ctx->Color.Blend[index].EquationA;
2632 v->value_int = ctx->TransformFeedback.CurrentObject->BufferNames[index];
2641 v->value_int = buf ? buf->Name : 0;
2649 v->value_int = ctx->UniformBufferBindings[index].Offset < 0 ? 0 :
2658 v->value_int = ctx->UniformBufferBindings[index].Size < 0 ? 0 :
2669 v->value_int = buf ? buf->Name : 0;
2677 v->value_int = ctx->ShaderStorageBufferBindings[index].Offset < 0 ? 0 :
2686 v->value_int = ctx->ShaderStorageBufferBindings[index].Size < 0 ? 0 :
2696 v->value_int = ctx->Multisample.SampleMaskValue;
2705 v->value_int = buf ? buf->Name : 0;
2732 v->value_int = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_GENERIC(index)].InstanceDivisor;
2740 v->value_int = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_GENERIC(index)].Offset;
2748 v->value_int = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_GENERIC(index)].Stride;
2757 v->value_int = buf ? buf->Name : 0;
2770 v->value_int = (t ? t->Name : 0);
2780 v->value_int = ctx->ImageUnits[index].Level;
2789 v->value_int = ctx->ImageUnits[index].Layered;
2798 v->value_int = ctx->ImageUnits[index].Layer;
2807 v->value_int = ctx->ImageUnits[index].Access;
2816 v->value_int = ctx->ImageUnits[index].Format;
2839 v->value_int = ctx->Texture.Unit[index].CurrentTex[target]->Name;
2852 v->value_int = samp ? samp->Name : 0;
2869 v->value_int = ctx->Const.MaxComputeWorkGroupSize[index];
2878 v->value_int = ctx->Const.MaxComputeVariableGroupSize[index];
2883 v->value_int = 1;
2904 v->value_int = ctx->pipe->screen->get_device_node_mask(ctx->pipe->screen);
2921 v->value_int = _mesa_IsEnabled(pname);
2931 v->value_int = _mesa_IsEnabled(pname);
2951 v->value_int = ctx->ViewportArray[index].SwizzleX;
2958 v->value_int = ctx->ViewportArray[index].SwizzleY;
2965 v->value_int = ctx->ViewportArray[index].SwizzleZ;
2972 v->value_int = ctx->ViewportArray[index].SwizzleW;
2996 params[0] = INT_TO_BOOLEAN(v.value_int);
3046 params[0] = v.value_int;
3080 params[0] = v.value_int;
3354 memcpy(data, &v.value_int, size);