Home
last modified time | relevance | path

Searched refs:varying (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/external/deqp/data/gles2/shaders/
Dlinkage.test3 desc "varying declared in fragment shader, no reference in vertex shader"
14 varying mediump float var;
26 desc "varying declared in vertex shader, no reference in fragment shader"
29 varying mediump float var;
45 desc "varying declared in both vertex and fragment shader, but not used"
48 varying mediump float var;
55 varying mediump float var;
65 desc "varying declared in both shaders, statically used in fragment shader"
69 varying mediump float var;
76 varying mediump float var;
[all …]
Dqualification_order.test16 invariant varying lowp float x0;
32 invariant varying lowp float x0;
51 varying lowp float x0;
67 varying lowp float x0;
86 invariant varying float x0;
102 invariant varying float x0;
125 invariant lowp varying float x0;
141 invariant lowp varying float x0;
160 varying invariant lowp float x0;
176 varying invariant lowp float x0;
[all …]
Ddeclarations.test75 varying mediump float val;
80 varying mediump float val;
91 varying mediump float val;
100 varying mediump float val;
/external/mesa3d/src/intel/compiler/
Dbrw_vue_map.c47 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot) in assign_vue_slot() argument
50 assert (vue_map->varying_to_slot[varying] == -1); in assign_vue_slot()
52 vue_map->varying_to_slot[varying] = slot; in assign_vue_slot()
53 vue_map->slot_to_varying[slot] = varying; in assign_vue_slot()
172 const int varying = ffsll(builtins) - 1; in brw_compute_vue_map() local
173 if (vue_map->varying_to_slot[varying] == -1) { in brw_compute_vue_map()
174 assign_vue_slot(vue_map, varying, slot++); in brw_compute_vue_map()
176 builtins &= ~BITFIELD64_BIT(varying); in brw_compute_vue_map()
182 const int varying = ffsll(generics) - 1; in brw_compute_vue_map() local
184 slot = first_generic_slot + varying - VARYING_SLOT_VAR0; in brw_compute_vue_map()
[all …]
Dgen6_gs_visitor.cpp146 int varying = prog_data->vue_map.slot_to_varying[slot]; in gs_emit_vertex() local
147 if (varying != VARYING_SLOT_PSIZ) { in gs_emit_vertex()
151 emit_urb_slot(dst, varying); in gs_emit_vertex()
165 emit_urb_slot(tmp, varying); in gs_emit_vertex()
402 int varying = prog_data->vue_map.slot_to_varying[slot]; in emit_thread_end() local
403 current_annotation = output_reg_annotation[varying]; in emit_thread_end()
415 reg.type = output_reg[varying][0].type; in emit_thread_end()
662 unsigned char varying = in xfb_program() local
683 this->current_annotation = output_reg_annotation[varying]; in xfb_program()
686 int offset = get_vertex_output_offset_for_varying(vertex, varying); in xfb_program()
[all …]
Dbrw_vec4_vs_visitor.cpp64 vec4_vs_visitor::emit_urb_slot(dst_reg reg, int varying) in emit_urb_slot() argument
67 output_reg[varying][0].type = reg.type; in emit_urb_slot()
69 switch (varying) { in emit_urb_slot()
78 vec4_instruction *inst = emit_generic_urb_slot(reg, varying, 0); in emit_urb_slot()
84 return vec4_visitor::emit_urb_slot(reg, varying); in emit_urb_slot()
/external/skqp/src/gpu/glsl/
DGrGLSLVarying.cpp41 void GrGLSLVaryingHandler::addVarying(const char* name, GrGLSLVarying* varying, in addVarying() argument
43 SkASSERT(GrSLTypeIsFloatType(varying->type()) || Interpolation::kMustBeFlat == interpolation); in addVarying()
47 SkASSERT(varying); in addVarying()
48 SkASSERT(kVoid_GrSLType != varying->fType); in addVarying()
49 v.fType = varying->fType; in addVarying()
53 if (varying->isInVertexShader()) { in addVarying()
54 varying->fVsOut = v.fVsOut.c_str(); in addVarying()
59 varying->fGsIn = v.fVsOut.c_str(); in addVarying()
60 varying->fGsOut = v.fGsOut.c_str(); in addVarying()
63 if (varying->isInFragmentShader()) { in addVarying()
[all …]
/external/skia/src/gpu/glsl/
DGrGLSLVarying.cpp41 void GrGLSLVaryingHandler::addVarying(const char* name, GrGLSLVarying* varying, in addVarying() argument
43 SkASSERT(GrSLTypeIsFloatType(varying->type()) || Interpolation::kMustBeFlat == interpolation); in addVarying()
47 SkASSERT(varying); in addVarying()
48 SkASSERT(kVoid_GrSLType != varying->fType); in addVarying()
49 v.fType = varying->fType; in addVarying()
53 if (varying->isInVertexShader()) { in addVarying()
54 varying->fVsOut = v.fVsOut.c_str(); in addVarying()
59 varying->fGsIn = v.fVsOut.c_str(); in addVarying()
60 varying->fGsOut = v.fGsOut.c_str(); in addVarying()
63 if (varying->isInFragmentShader()) { in addVarying()
[all …]
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dlinkage.test3 group varying "Varying linkage"
10 desc "varying declared in vertex shader, no reference in fragment shader"
33 desc "varying declared in both vertex and fragment shader, but not used"
57 desc "legal vertex to fragment shader varying type mismatches (vec4 to vec3)"
85 desc "legal vertex to fragment shader varying type mismatches (vec4 to vec2)"
113 desc "legal vertex to fragment shader varying type mismatches (vec4 to float)"
141 desc "legal vertex to fragment shader varying type mismatches (vec3 to vec2)"
168 desc "legal vertex to fragment shader varying type mismatches (vec3 to float)"
195 desc "legal vertex to fragment shader varying type mismatches (vec2 to float)"
221 desc "legal vertex to fragment shader varying type mismatches (ivec4 to ivec3)"
[all …]
/external/deqp/doc/testspecs/GLES31/
Dfunctional.shaders.multisample_interpolation.txt45 test pattern with a sample-qualified varying. Using the same reasoning as in
62 verified by interpolating a varying containing screen-space location in pixels.
65 varying with interpolateAtSample(). The tests render narrow triangles and
72 per-sample qualified varying and the value returned by
79 interpolateAtCentroid are equal to the values of a centroid qualified varying.
81 centroid-qualified and non-centroid-qualified varying and then compares the
82 values of centroid-qualified varying and interpolateAtCentroid function return
83 value when given the non-centroid-qualified varying as an input.
86 when given a varying array element as an input. Tests render multiple narrow
94 cases test interpolateAtOffset() function targeting a varying without
[all …]
Dfunctional.geometry_shading.txt27 - Constant and varying emit counts
37 + (Negative) tests for vertex-geo-frag shader varying linkage.
57 a constant number of vertices. output_vary_by_* cases emit a varying
58 number of vertices, depending on a shader varying, uniform or a texture
77 varying.* tests verify the functionality of vertex shader -> geometry shader
98 invocation_output_vary_by_* cases, invocations emit a varying number of
99 vertices, depending on a shader varying, uniform or a texture lookup.
/external/deqp-deps/glslang/Test/
DvaryingArray.frag3 varying vec4 color;
4 varying float alpha;
6 varying vec4 gl_TexCoord[6];
8 varying vec4 foo[3];
DvaryingArrayIndirect.frag3 varying vec4 color;
4 varying float alpha;
6 varying vec4 gl_TexCoord[6];
8 varying vec4 userIn[2];
Dmatrix.frag6 varying vec3 Color;
17 varying vec4 v;
20 varying vec3 u;
22 varying vec4 u;
Dspv.functionCall.frag3 varying vec4 bigColor;
4 varying vec4 BaseColor;
5 varying float d;
Dmatrix2.frag4 varying vec3 Color;
13 varying vec4 v;
15 varying vec3 u;
/external/mesa3d/src/mesa/vbo/
Dvbo_split_copy.c70 } varying[VERT_ATTRIB_MAX]; member
256 const struct gl_vertex_array *srcarray = copy->varying[i].array; in elt()
257 const GLubyte *srcptr = copy->varying[i].src_ptr + elt * srcarray->StrideB; in elt()
259 memcpy(csr, srcptr, copy->varying[i].size); in elt()
260 csr += copy->varying[i].size; in elt()
277 for (j = 0; j < copy->varying[i].size / 4; j++) in elt()
439 copy->varying[j].attr = i; in replay_init()
440 copy->varying[j].array = copy->array[i]; in replay_init()
441 copy->varying[j].size = attr_size(copy->array[i]); in replay_init()
449 copy->varying[j].src_ptr = in replay_init()
[all …]
/external/deqp/data/gles31/shaders/es31/
Dlinkage_geometry_varying_types.test5 desc "varying of type float"
52 desc "varying of type vec2"
99 desc "varying of type vec3"
146 desc "varying of type vec4"
193 desc "varying of type mat2"
240 desc "varying of type mat2x3"
287 desc "varying of type mat2x4"
334 desc "varying of type mat3x2"
381 desc "varying of type mat3"
428 desc "varying of type mat3x4"
[all …]
Dlinkage_tessellation_varying_types.test5 desc "varying of type float"
59 desc "varying of type vec2"
113 desc "varying of type vec3"
167 desc "varying of type vec4"
221 desc "varying of type mat2"
275 desc "varying of type mat2x3"
329 desc "varying of type mat2x4"
383 desc "varying of type mat3x2"
437 desc "varying of type mat3"
491 desc "varying of type mat3x4"
[all …]
/external/deqp/data/gles31/shaders/es32/
Dlinkage_geometry_varying_types.test23 desc "varying of type float"
69 desc "varying of type vec2"
115 desc "varying of type vec3"
161 desc "varying of type vec4"
207 desc "varying of type mat2"
253 desc "varying of type mat2x3"
299 desc "varying of type mat2x4"
345 desc "varying of type mat3x2"
391 desc "varying of type mat3"
437 desc "varying of type mat3x4"
[all …]
Dlinkage_tessellation_varying_types.test23 desc "varying of type float"
76 desc "varying of type vec2"
129 desc "varying of type vec3"
182 desc "varying of type vec4"
235 desc "varying of type mat2"
288 desc "varying of type mat2x3"
341 desc "varying of type mat2x4"
394 desc "varying of type mat3x2"
447 desc "varying of type mat3"
500 desc "varying of type mat3x4"
[all …]
Dlinkage_tessellation_geometry_varying_types.test23 desc "varying of type float"
91 desc "varying of type vec2"
159 desc "varying of type vec3"
227 desc "varying of type vec4"
295 desc "varying of type mat2"
363 desc "varying of type mat2x3"
431 desc "varying of type mat2x4"
499 desc "varying of type mat3x2"
567 desc "varying of type mat3"
635 desc "varying of type mat3x4"
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DSceneFragShader.fsh3 varying lowp vec3 DiffuseLight;
4 varying lowp vec3 SpecularLight;
5 varying mediump vec2 TexCoord;
DSceneVertShader.vsh10 varying lowp vec3 DiffuseLight;
11 varying lowp vec3 SpecularLight;
12 varying mediump vec2 TexCoord;
/external/deqp/data/gles3/shaders/
Dlinkage.test3 group varying "Varying linkage"
10 desc "varying declared in fragment shader, no reference in vertex shader"
36 desc "varying declared in vertex shader, no reference in fragment shader"
59 desc "varying declared in both vertex and fragment shader, but not used"
83 desc "varying declared in both shaders, statically used in fragment shader"
111 desc "varying declared and statically used in vertex shader, no reference in fragment shader"
137 desc "varying declared and statically used in vertex shader, only declared in fragment shader"
164 desc "varying statically used in both vertex and fragment shader"
194 desc "varying declared as highp in vertex shader, but mediump in fragment shader"
227 desc "varying declared as highp in vertex shader, but lowp in fragment shader"
[all …]

12345678910>>...13