0d6127fbed646d2b_0000000000000000_vs.txt - #version 420#extension GL_ARB_texture_gather enable#extension GL_ARB_shading_language_packing enable shader

0d6127fbed646d2b_0000000000000000_vs.txt - #version...

This preview shows page 1 - 2 out of 4 pages.

#version 420 #extension GL_ARB_texture_gather : enable #extension GL_ARB_shading_language_packing : enable // shader 0d6127fbed646d2b // AO Fix // original shader dumped using cemu 1.10.0f, BotW 1.3.1 const float resXScale = 1.0; const float resYScale = 0.75; uniform ivec4 uf_remappedVS[5]; uniform vec2 uf_windowSpaceToClipSpaceTransform; layout(binding = 32) uniform sampler2D textureUnitVS0;// Tex0 addr 0x3db8b000 res 12x1x1 dim 1 tm: 2 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler18 ClampX/Y/Z: 2 2 2 border: 1 layout(location = 0) in uvec4 attrDataSem0; layout(location = 1) in uvec4 attrDataSem1; out gl_PerVertex { vec4 gl_Position; float gl_PointSize; }; layout(location = 0) out vec4 passParameterSem0; layout(location = 1) out vec4 passParameterSem5; layout(location = 2) out vec4 passParameterSem6; int clampFI32(int v) { if( v == 0x7FFFFFFF ) return floatBitsToInt(1.0); else if( v == 0xFFFFFFFF ) return floatBitsToInt(0.0); return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0)); } float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; } void main() { ivec4 R0i = ivec4(0); ivec4 R1i = ivec4(0); ivec4 R2i = ivec4(0); ivec4 R3i = ivec4(0); ivec4 R4i = ivec4(0); ivec4 R123i = ivec4(0); ivec4 R124i = ivec4(0); ivec4 R125i = ivec4(0); ivec4 R126i = ivec4(0); ivec4 R127i = ivec4(0); uvec4 attrDecoder; int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i; ivec4 PV0i = ivec4(0), PV1i = ivec4(0); int PS0i = 0, PS1i = 0; ivec4 tempi = ivec4(0); float tempResultf; int tempResulti; ivec4 ARi = ivec4(0); bool predResult = true; vec3 cubeMapSTM; int cubeMapFaceId; R0i = ivec4(gl_VertexID, 0, 0, gl_InstanceID); attrDecoder.xyzw = attrDataSem0.xyzw; attrDecoder = ((attrDecoder>>8)&0xFF)|((attrDecoder<<8)&0xFF00); attrDecoder.xyzw = floatBitsToInt(vec4(unpackHalf2x16(attrDecoder.x|
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 4 pages?

  • Spring '17
  • wert
  • Void type, #Version, #extension, floatBitsToInt

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes